Philipp Baumann
7 years ago
1 changed files with 30 additions and 0 deletions
@ -0,0 +1,30 @@ |
|||
language: r |
|||
sudo: false |
|||
cache: packages |
|||
|
|||
r: |
|||
- oldrel |
|||
- release |
|||
- devel |
|||
|
|||
addons: |
|||
apt: |
|||
packages: |
|||
- libhunspell-dev |
|||
|
|||
# We want to use devel devtools to load packages so we can catch package |
|||
# installation issues sooner rather than later. |
|||
r_github_packages: |
|||
- hadley/devtools |
|||
|
|||
# We need to install BiocInstaller for testing Bioconductor packages |
|||
bioc_required: true |
|||
|
|||
# Set CXX1X for R-devel, as R-devel does not detect CXX1X support for gcc 4.6.3, |
|||
# this was causing hunspell installation to fail |
|||
before_install: |
|||
- if [[ "$TRAVIS_R_VERSION_STRING" = 'devel' ]]; then mkdir ~/.R && echo 'CXX1X=g++ -std=c++0x -g -O2 -fPIC' > ~/.R/Makevars; fi |
|||
|
|||
# Only report coverage for the release version |
|||
after_success: |
|||
- test $TRAVIS_R_VERSION_STRING = 'release' && Rscript -e 'covr::codecov()' |
Loading…
Reference in new issue