Skip to content

Commit

Permalink
Fix CI
Browse files Browse the repository at this point in the history
  • Loading branch information
blegat committed Jun 4, 2018
1 parent e26c637 commit a332d1f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
11 changes: 7 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,13 @@ addons:
#before_script: # homebrew for mac
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi

before_script:
- julia -e 'Pkg.add("CSDP")'
- julia -e 'Pkg.checkout("CSDP")'
- julia -e 'Pkg.build("CSDP")'
script:
- julia -e 'Pkg.clone(pwd());
Pkg.build("SemidefiniteOptInterface");
Pkg.add("CSDP");
Pkg.checkout("CSDP");
Pkg.build("CSDP");
Pkg.test("SemidefiniteOptInterface"; coverage=true)'

after_success:
# push coverage results to Coveralls
Expand Down
7 changes: 3 additions & 4 deletions appveyor.yml
Original file line number Diff line number Diff line change
Expand Up @@ -41,12 +41,11 @@ build_script:
# Need to convert from shallow to complete for Pkg.clone to work
- IF EXIST .git\shallow (git fetch --unshallow)
- C:\projects\julia\bin\julia -e "versioninfo();
Pkg.add(\"CSDP\");
Pkg.checkout(\"CSDP\");
Pkg.build(\"CSDP\");
Pkg.clone(pwd(), \"SemidefiniteOptInterface\");
Pkg.build(\"SemidefiniteOptInterface\");
Pkg.add(\"CSDP\");
Pkg.build(\"SemidefiniteOptInterface\")"
Pkg.checkout(\"CSDP\");
Pkg.build(\"CSDP\")"

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

0 comments on commit a332d1f

Please sign in to comment.