Skip to content

Commit

Permalink
Use Coverage.jl only when $CI_GROUP != docs
Browse files Browse the repository at this point in the history
  • Loading branch information
tkf committed Aug 12, 2018
1 parent 0eebb87 commit 366f26c
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,13 @@ script:
after_success:
- cat Manifest.toml
# push coverage results to Coveralls
- julia --color=yes -e 'using Pkg; cd(Pkg.dir("Bifurcations")); using Coverage; Coveralls.submit(Coveralls.process_folder())'
- if [ "$CI_GROUP" != docs ]; then
julia --color=yes -e 'using Coverage; Coveralls.submit(Coveralls.process_folder())';
fi
# push coverage results to Codecov
- julia --color=yes -e 'using Pkg; cd(Pkg.dir("Bifurcations")); using Coverage; Codecov.submit(Codecov.process_folder())'
- if [ "$CI_GROUP" != docs ]; then
julia --color=yes -e 'using Coverage; Codecov.submit(Codecov.process_folder())'
fi
# build documents
- if [ "$CI_GROUP" = docs ]; then
julia --color=yes docs/deploy.jl;
Expand Down

0 comments on commit 366f26c

Please sign in to comment.