-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
43 lines (34 loc) · 890 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
43
language: r
sudo: false
cache: packages
dist: trusty
latex: true
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 ICCier*tar.gz
after_script:
- tar -ztvf ICCier_*.tar.gz
- echo ${NOT_CRAN}
after_success:
- travis_wait 40 tar -C .. -xf $PKG_TARBALL
after_failure:
- cat ICCier.Rcheck/00*