-
Notifications
You must be signed in to change notification settings - Fork 27
/
Copy path.travis.yml
50 lines (44 loc) · 1.3 KB
/
.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
43
44
45
46
47
48
49
50
language: r
cache: packages
pandoc_version: 2.1.3
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- libopenblas-base
- libudunits2-dev
- libv8-dev
- libprotobuf-dev
- libprotoc-dev
- libproj-dev
- libgeos-dev
- libgdal-dev
- protobuf-compiler
- valgrind
- libjq-dev
- netcdf-bin
- g++-7
brew_packages:
- udunits
r_github_packages:
- tereom/estcomp
- diegovalle/mxmaps
- stan-dev/bayesplot
# repos:
# CRAN: https://cran.rstudio.com
# rforge: http://R-Forge.R-project.org
before_install:
- R -e 'install.packages("rgdal", repos=c("http://R-Forge.R-project.org", "http://cran.rstudio.com"))'
- mkdir -p ~/.R/
- echo "CXX14 = g++-7 -fPIC -flto=2" >> ~/.R/Makevars
- echo "CXX14FLAGS = -mtune=native -march=native -Wno-unused-variable -Wno-unused-function -Wno-unused-local-typedefs -Wno-ignored-attributes -Wno-deprecated-declarations -Wno-attributes -O3" >> ~/.R/Makevars
# install:
# - R -e "install.packages('rstan')"
before_script:
- chmod +x ./_build.sh
- chmod +x ./_deploy.sh
script:
- ./_build.sh
- ./_deploy.sh
# - R -e "rstan::stan_version()"