8516f59b |
language: r
|
c0619365 |
r: bioc-devel
|
f82fd8c5 |
cache: packages
|
37f2a82b |
sudo: false # use container based build system
|
f82fd8c5 |
warnings_are_errors: true
|
4121d103 |
#dist: trusty
|
c5874ba6 |
|
774e2100 |
# Set CXX1X for R-devel, as R-devel does not detect CXX1X support for gcc 4.6.3,
|
f82fd8c5 |
# 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
|
774e2100 |
before_install:
|
33fdcf92 |
- if [[ "$TRAVIS_R_VERSION_STRING" = 'bioc-devel' ]]; then mkdir ~/.R && echo 'CXX1X=g++ -std=c++0x -g -O2 -fPIC' > ~/.R/Makevars; fi
|
190a5044 |
|
f82fd8c5 |
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
|
190a5044 |
|
f82fd8c5 |
script:
- |
|
4f838466 |
travis_wait 30 R CMD build .
travis_wait 30 R CMD check --no-build-vignettes --no-vignettes mzR*tar.gz
|