From bb30c569cf1977099e9d6251afa4baeec0ca9b47 Mon Sep 17 00:00:00 2001 From: jangorecki Date: Tue, 5 Feb 2019 18:22:14 +0530 Subject: [PATCH] travis do only 2 builds, closes #3357 --- .travis.yml | 21 ++++----------------- 1 file changed, 4 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 730448809..024a9cc07 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,34 +1,20 @@ -# -# Travis configuration guide for R language: -# https://docs.travis-ci.com/user/languages/r/ -# https://github.com/craigcitro/r-travis/wiki/Porting-to-native-R-support-in-Travis -# language: r dist: trusty sudo: required cache: packages warnings_are_errors: true -r_check_args: "" -# empty r_check_args to turn off --as-cran (on by default) as that can be slow branches: only: - "master" r: - - oldrel - release - - devel os: - linux - osx -matrix: - exclude: - - r: devel # exclude osx r-devel build as it is currently unstable - os: osx - before_install: - if [[ "$TRAVIS_OS_NAME" == "osx" ]]; then brew install llvm && export PATH="/usr/local/opt/llvm/bin:$PATH" && @@ -36,15 +22,15 @@ before_install: export CFLAGS="-I/usr/local/opt/llvm/include"; fi r_packages: - - covr - - drat + - covr # used for code coverage reports in github pull requests + - drat # used in deploy.sh to publish tar.gz to github.io/Rdatatable/data.table - devtools # explicitly named temp fix for #2801 before_script: - echo "Revision:" $TRAVIS_COMMIT >> ./DESCRIPTION after_success: - - travis_wait Rscript -e 'library(covr);codecov()' + - travis_wait Rscript -e 'library(covr); codecov()' - test $TRAVIS_REPO_SLUG == "Rdatatable/data.table" && test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && @@ -59,5 +45,6 @@ env: global: - PKG_CFLAGS="-O3 -Wall -pedantic" - _R_CHECK_NO_STOP_ON_TEST_ERROR_=true + - _R_CHECK_CRAN_INCOMING_REMOTE_=false # drat using @jangorecki token - secure: "CxDW++rsQApQWos+h1z/F76odysyD6AtXJrDwlCHlgqXeKJNRATR4wZDDR18SK+85jUqjoqOvpyrq+5kKuyg6AnA/zduaX2uYE5mcntEUiyzlG/jJUKbcJqt22nyAvFXP3VS60T2u4H6IIhVmr7dArdxLkv8W+pJvf2Tg6kx8Ws="