forked from stan-dev/rstanarm
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (39 loc) · 1.03 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
language: r
sudo: false
cache: packages
dist: trusty
latex: true
r_build_args: '--no-build-vignettes'
r_check_args: '--ignore-vignettes'
r_github_packages:
- jimhester/covr
env:
global:
- MAKEFLAGS="-j 2"
matrix:
include:
- os: linux
addons:
apt:
sources:
- ubuntu-toolchain-r-test
packages:
- g++-7
env:
- MATRIX_EVAL="CC=gcc-7 && CXX=g++-7"
before_install:
- 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
script:
- |
travis_wait 42 R CMD build .
travis_wait 59 R CMD check rstanarm*tar.gz
after_script:
- tar -ztvf rstanarm_*.tar.gz
- echo ${NOT_CRAN}
after_success:
- travis_wait 40 tar -C .. -xf $PKG_TARBALL
- travis_wait 40 Rscript -e 'covr::codecov()'
after_failure:
- cat rstanarm.Rcheck/00*