-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.travis.yml
25 lines (25 loc) · 911 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- 0.6
- 0.7
- 1.0
notifications:
email: false
# uncomment the following lines to override the default test script
#script:
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
# - julia -e 'Pkg.clone(pwd()); Pkg.build("SemidefiniteModels"); Pkg.test("SemidefiniteModels"; coverage=true)'
before_install:
- |
if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then
sudo apt-get install liblapack-dev libblas-dev; # For CSDP
fi
after_success:
# push coverage results to Coveralls
- julia -e 'cd(Pkg.dir("SemidefiniteModels")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
# push coverage results to Codecov
- julia -e 'cd(Pkg.dir("SemidefiniteModels")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'