From d6e74882dccdffa1a149b9a0336c35532212fbbf Mon Sep 17 00:00:00 2001 From: Luke Winslow Date: Wed, 30 Dec 2015 12:22:36 -0600 Subject: [PATCH] Test using metacran builder --- .travis.yml | 36 ++++++++++++++++++++++++------------ 1 file changed, 24 insertions(+), 12 deletions(-) diff --git a/.travis.yml b/.travis.yml index dbe3be6..8381c85 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,18 +1,30 @@ -# Sample .travis.yml for R projects. -# -# See README.md for instructions, or for more configuration options, -# see the wiki: -# https://github.com/craigcitro/r-travis/wiki +## .travis.yml file for use with metacran/r-builder +## See https://github.com/metacran/r-builder for details. -language: r - -env: - global: - - R_BUILD_ARGS=" " - - R_CHECK_ARGS="--as-cran" - - NOT_CRAN="true" +language: c +sudo: required before_install: + - curl -OL https://raw.githubusercontent.com/metacran/r-builder/master/pkg-build.sh + - chmod 755 pkg-build.sh + - ./pkg-build.sh bootstrap install: + - ./pkg-build.sh install_deps + +script: + - ./pkg-build.sh run_tests +after_failure: + - ./pkg-build.sh dump_logs + +notifications: + email: + on_success: change + on_failure: change + +env: + matrix: + - RVERSION=oldrel + - RVERSION=release + - RVERSION=devel