Skip to content

Commit 6a0acf0

Browse files
authored
Fix coverage upload
1 parent c0c5f08 commit 6a0acf0

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

.travis.yml

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,8 @@
11
# Documentation: http://docs.travis-ci.com/user/languages/julia/
22
language: julia
3+
branches:
4+
only:
5+
- master
36
os:
47
- linux
58
julia:
@@ -9,12 +12,6 @@ julia:
912
# - julia: nightly
1013
notifications:
1114
email: false
12-
# uncomment the following lines to override the default test script
13-
#script:
14-
# - if [[ -a .git/shallow ]]; then git fetch --unshallow; fi
15-
# - julia -e 'Pkg.clone(pwd()); Pkg.build("ParameterizedFunctions.jl"); Pkg.test("ParameterizedFunctions.jl"; coverage=true)'
1615
after_success:
17-
# push coverage results to Coveralls
18-
- julia -e 'cd(Pkg.dir("ParameterizedFunctions")); Pkg.add("Coverage"); using Coverage; Coveralls.submit(Coveralls.process_folder())'
19-
# push coverage results to Codecov
20-
- julia -e 'cd(Pkg.dir("ParameterizedFunctions")); Pkg.add("Coverage"); using Coverage; Codecov.submit(Codecov.process_folder())'
16+
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Codecov.submit(process_folder())'
17+
- julia -e 'using Pkg; Pkg.add("Coverage"); using Coverage; Coveralls.submit(process_folder())'

0 commit comments

Comments
 (0)