-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
62 lines (56 loc) · 1.32 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
61
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
# and this guide: https://towardsdatascience.com/travis-ci-for-r-advanced-guide-719cb2d9e0e5
language: R
sudo: false
cache: packages
latex: false
fortran: false
matrix:
include:
- r: oldrel
os: linux
dist: trusty
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get install r-base-dev
- r: release
os: linux
dist: trusty
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get install r-base-dev
r_packages:
- covr
after_success:
- tar -C .. -xf $PKG_TARBALL
- Rscript -e 'covr::codecov()'
- r: devel
os: linux
dist: trusty
before_install:
- export DISPLAY=:99.0
- sh -e /etc/init.d/xvfb start
- sudo apt-get install r-base-dev
- sudo apt install libgsl-dev
r_packages:
- gsl
- r: release
os: osx
r_packages:
- ps
- digest
- Rcpp
- RcppArmadillo
before_install:
- brew update
- brew install gsl
- export DISPLAY=:99.0
- ( sudo Xvfb :99 -ac -screen 0 1024x768x8; echo ok )&
r_packages:
- geoR
- splancs
- nnls
env:
- _R_CHECK_FORCE_SUGGESTS_=false