Skip to content

Commit a332d1f

Browse files
committed
Fix CI
1 parent e26c637 commit a332d1f

2 files changed

Lines changed: 10 additions & 8 deletions

File tree

.travis.yml

Lines changed: 7 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -25,10 +25,13 @@ addons:
2525
#before_script: # homebrew for mac
2626
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
2727

28-
before_script:
29-
- julia -e 'Pkg.add("CSDP")'
30-
- julia -e 'Pkg.checkout("CSDP")'
31-
- julia -e 'Pkg.build("CSDP")'
28+
script:
29+
- julia -e 'Pkg.clone(pwd());
30+
Pkg.build("SemidefiniteOptInterface");
31+
Pkg.add("CSDP");
32+
Pkg.checkout("CSDP");
33+
Pkg.build("CSDP");
34+
Pkg.test("SemidefiniteOptInterface"; coverage=true)'
3235

3336
after_success:
3437
# push coverage results to Coveralls

appveyor.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,12 +41,11 @@ build_script:
4141
# Need to convert from shallow to complete for Pkg.clone to work
4242
- IF EXIST .git\shallow (git fetch --unshallow)
4343
- C:\projects\julia\bin\julia -e "versioninfo();
44-
Pkg.add(\"CSDP\");
45-
Pkg.checkout(\"CSDP\");
46-
Pkg.build(\"CSDP\");
4744
Pkg.clone(pwd(), \"SemidefiniteOptInterface\");
45+
Pkg.build(\"SemidefiniteOptInterface\");
4846
Pkg.add(\"CSDP\");
49-
Pkg.build(\"SemidefiniteOptInterface\")"
47+
Pkg.checkout(\"CSDP\");
48+
Pkg.build(\"CSDP\")"
5049

5150
test_script:
5251
- C:\projects\julia\bin\julia -e "Pkg.test(\"SemidefiniteOptInterface\")"

0 commit comments

Comments
 (0)