Skip to content

Commit 45b53c6

Browse files
authored
Update .travis.yml
1 parent 71976dd commit 45b53c6

File tree

1 file changed

+12
-6
lines changed

1 file changed

+12
-6
lines changed

.travis.yml

Lines changed: 12 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
## Documentation: http://docs.travis-ci.com/user/languages/julia/
12
language: julia
23
os:
34
- linux
@@ -6,10 +7,15 @@ julia:
67
- 0.7
78
- 1.0
89
- nightly
9-
notifications:
10-
email: false
11-
#script: # default script is equivalent to the following
12-
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
13-
# - julia -e 'Pkg.clone(pwd()); Pkg.build("FileIO"); Pkg.test("FileIO"; coverage=true)'
10+
matrix:
11+
allow_failures:
12+
- julia: nightly
13+
branches:
14+
only:
15+
- master
16+
- /^v\d+\.\d+(\.\d+)?(-\S*)?$/
1417
after_success:
15-
- julia -e 'cd(Pkg.dir("FileIO")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder()); Codecov.submit(process_folder())'
18+
- if [[ $TRAVIS_JULIA_VERSION = 1.0 ]] && [[ $TRAVIS_OS_NAME = linux ]]; then
19+
julia --project=test/coverage -e 'using Pkg; Pkg.instantiate();
20+
using Coverage; Codecov.submit(Codecov.process_folder())';
21+
fi

0 commit comments

Comments
 (0)