forked from r-lib/devtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
30 lines (24 loc) · 798 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
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()'