From 28e767586ec2af303fca599e9c323733a19c8eb1 Mon Sep 17 00:00:00 2001 From: noerw Date: Thu, 7 Jun 2018 00:16:03 +0200 Subject: [PATCH] attempt to build vignettes on travis --- .travis.yml | 22 ++++++++++++++++++++-- 1 file changed, 20 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index dc2d164..6bebda4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,6 +3,7 @@ language: R sudo: false cache: packages +warnings_are_errors: true r: - release @@ -12,8 +13,12 @@ r_github_packages: - r-lib/covr - jimhester/lintr -r_build_args: "--no-build-vignettes" -r_check_args: "--as-cran --no-vignettes" +r_build_args: + - "--no-build-vignettes" + - "" +r_check_args: + - "--as-cran --no-vignettes" + - "" before_install: - sudo add-apt-repository ppa:ubuntugis/ubuntugis-unstable --yes @@ -26,3 +31,16 @@ before_install: after_success: - Rscript -e 'covr::codecov()' - Rscript -e 'lintr::lint_package()' + +matrix: + include: + - r: devel + r_build_args: "" + r_check_args: "" + - r: devel + r_build_args: "--no-build-vignettes" + r_check_args: "--as-cran --no-vignettes" + - r: release + r_build_args: "--no-build-vignettes" + r_check_args: "--as-cran --no-vignettes" +