-
Notifications
You must be signed in to change notification settings - Fork 2
/
.travis.yml
42 lines (29 loc) · 832 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
31
32
33
34
35
36
37
38
39
40
41
42
language: r
r: bioc-devel
sudo: TRUE
os: linux
# - windows
# - linux
# - osx
repos:
CRAN: https://cloud.r-project.org
ropensci: http://packages.ropensci.org
notifications:
email: TRUE
cache:
- packages
- ccache
warnings_are_errors: FALSE
r_build_args: '--no-build-vignettes'
r_check_args: '--ignore-vignettes'
script:
- travis_wait 40 R CMD build
- R CMD check *tar.gz
before_install:
- sudo apt-get -y install libv8-dev
- R -q -e 'install.packages(c("BH", "Rcpp", "RcppEigen",
"StanHeaders", "rstantools",
"rstan", "covr"))'
- mkdir -p ~/.R
- echo "CXX14FLAGS=-O3 -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -Wno-macro-redefined" >> ~/.R/Makevars
- echo "CXX14=g++ -std=c++1y -fPIC" >> ~/.R/Makevars