-
Notifications
You must be signed in to change notification settings - Fork 27
/
.travis.yml
25 lines (22 loc) · 920 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
language: r
r: bioc-devel
cache: packages
sudo: false # use container based build system
warnings_are_errors: true
#dist: trusty
# Set CXX1X for R-devel, as R-devel does not detect CXX1X support for gcc 4.6.3,
# this was causing mzR installation to fail
# see https://bugs.r-project.org/bugzilla3/show_bug.cgi?id=17189
# workaround stolen from https://github.com/hadley/devtools/blob/1ce84b04568ff7846c3da754f28e7e22a23c8737/.travis.yml#L23-L26
before_install:
- if [[ "$TRAVIS_R_VERSION_STRING" = 'bioc-devel' ]]; then mkdir ~/.R && echo 'CXX1X=g++ -std=c++0x -g -O2 -fPIC' > ~/.R/Makevars; fi
addons:
apt:
packages:
- libnetcdf-dev
- netcdf-bin # libnetcdf-dev doesn't contain nc-config in ubuntu 12.04 (in 16.04 it is part of libnetcdf-dev)
- libhdf5-dev
script:
- |
travis_wait 30 R CMD build .
travis_wait 30 R CMD check --no-build-vignettes --no-vignettes mzR*tar.gz