Skip to content

Commit

Permalink
only run codecov on the release build
Browse files Browse the repository at this point in the history
  • Loading branch information
sckott committed Feb 7, 2018
1 parent 8e23247 commit 0539958
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,18 @@ r_github_packages:
r_binary_packages:
- vegan

r:
- oldrel
- release
- devel
matrix:
include:
- os: linux
r: oldrel
- os: linux
r: release
env: R_CODECOV=true
- os: linux
r: devel

after_success:
- Rscript -e 'covr::codecov()'
- if [[ "${R_CODECOV}" ]]; then R -e 'covr::codecov()'; fi

notifications:
email:
Expand Down

0 comments on commit 0539958

Please sign in to comment.