-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
23 lines (23 loc) · 933 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
# Documentation: http://docs.travis-ci.com/user/languages/julia/
language: julia
os:
- linux
- osx
julia:
- 1.0
- 1.1
- nightly
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("QDates"); Pkg.test("QDates"; coverage=true)'
# after_success:
# # push coverage results to Coveralls and Codecov
# - julia -e 'using Pkg; cd(Pkg.dir("QDates")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder()); Codecov.submit(process_folder())'
# codecov: true
# coveralls: true
after_success:
# push coverage results to Coveralls and Codecov if os = osx
- if [ "$TRAVIS_OS_NAME" = "osx" ]; then julia --color=yes -e "using Pkg; Pkg.add(\"Coverage\"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())"; fi