From b937ba0f632f5fae99e719629f6d71e8001d40fb Mon Sep 17 00:00:00 2001 From: Alex Chubaty Date: Fri, 17 Nov 2017 14:31:08 -0700 Subject: [PATCH] only run coverage checks on travis linux r-release coverage checks take too long on macOS, causing timeout error --- .travis.yml | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index ef66c18..ec50946 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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 @@ -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()})' -