forked from nlmixrdevelopment/nlmixr
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
60 lines (48 loc) · 1.05 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
51
52
53
54
55
56
57
58
59
60
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: r
env:
- CXX14FLAGS=-O3 -march=native -mtune=native -fPIC CXX14=g++
cache: packages
r:
- 3.5
- 3.6
- devel
os:
- linux
- osx
matrix:
exclude:
allow_failures:
- r: devel
os: linux
- r: devel
os: osx
- r: 3.5
os: osx
- r: 3.6
os: linux
- r: 3.6
os: osx
addons:
apt:
packages:
- libudunits2-dev
- python
- python-sympy
r_github_packages:
- jimhester/covr
- nlmixrdevelopment/dparser-R
- nlmixrdevelopment/RxODE
script:
- |
mkdir ~/.R
echo > ~/.R/Makevars
echo CXX14FLAGS=-O3 -march=native -mtune=native -fPIC >> ~/.R/Makevars
echo CXX14=g++ >> ~/.R/Makevars
echo CXX14STD=-std=c++1y >> ~/.R/Makevars
R CMD build .
travis_wait 40 R CMD check nlmixr*tar.gz
after_failure:
- find *Rcheck -name '*.fail' -print -exec cat '{}' \;
after_success:
- travis_wait 20 Rscript -e 'covr::codecov(line_exclusions=c("R/RxODE-win-setup.R", "src/errmsg.f", "src/rprint.c"))'