Skip to content

Commit

Permalink
only run coverage checks on travis linux r-release
Browse files Browse the repository at this point in the history
coverage checks take too long on macOS, causing timeout error
  • Loading branch information
achubaty committed Nov 17, 2017
1 parent f82378d commit b937ba0
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,8 @@ matrix:
- os: linux
dist: trusty
r: release
after_success:
- Rscript -e 'withr::with_envvar(c(NOT_CRAN="true"), {covr::codecov()})'

- os: linux
dist: trusty
Expand All @@ -39,7 +41,3 @@ notifications:
email:
on_success: change
on_failure: change

after_success:
- test $TRAVIS_R_VERSION_STRING = "release" && Rscript -e 'withr::with_envvar(c(NOT_CRAN="true"), {covr::codecov()})'

0 comments on commit b937ba0

Please sign in to comment.