Skip to content

Commit e26c637

Browse files
committed
Update travis and appveyor scripts
1 parent f5c7440 commit e26c637

2 files changed

Lines changed: 7 additions & 6 deletions

File tree

.travis.yml

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,11 +26,10 @@ addons:
2626
# - if [ $TRAVIS_OS_NAME = osx ]; then brew install gcc; fi
2727

2828
before_script:
29-
- julia -e 'Pkg.clone("https://github.com/JuliaOpt/MathOptInterface.jl.git")'
29+
- julia -e 'Pkg.add("CSDP")'
30+
- julia -e 'Pkg.checkout("CSDP")'
31+
- julia -e 'Pkg.build("CSDP")'
3032

31-
## uncomment the following lines to override the default test script
32-
script:
33-
- julia -e 'Pkg.init(); Pkg.clone(pwd()); Pkg.clone("https://github.com/JuliaOpt/CSDP.jl.git"); Pkg.build("CSDP"); Pkg.build("SemidefiniteOptInterface"); Pkg.test("SemidefiniteOptInterface"; coverage=true)'
3433
after_success:
3534
# push coverage results to Coveralls
3635
- julia -e 'cd(Pkg.dir("SemidefiniteOptInterface")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'

appveyor.yml

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +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.clone(\"https://github.com/JuliaOpt/MathOptInterface.jl.git\");
44+
Pkg.add(\"CSDP\");
45+
Pkg.checkout(\"CSDP\");
46+
Pkg.build(\"CSDP\");
4547
Pkg.clone(pwd(), \"SemidefiniteOptInterface\");
46-
Pkg.clone(\"https://github.com/JuliaOpt/CSDP.jl.git\");
48+
Pkg.add(\"CSDP\");
4749
Pkg.build(\"SemidefiniteOptInterface\")"
4850

4951
test_script:

0 commit comments

Comments
 (0)