forked from osofr/simcausal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
78 lines (67 loc) · 1.51 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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
#----------------------------------------------------------------
# Travis-CI configuration for R packages
#
# REFERENCES:
# * Travis CI: https://travis-ci.org/
# * native R support: https://github.com/craigcitro/r-travis
# * examples: https://github.com/craigcitro/r-travis/wiki/Porting-to-native-R-support-in-Travis
# * r-builder: https://github.com/metacran/r-builder
# * covr: https://github.com/jimhester/covr
# * Coveralls: https://coveralls.io/
#
# Validate your .travis.yml file at http://lint.travis-ci.org/
#----------------------------------------------------------------
# sudo: required
# r_binary_packages:
# - knitr
# - data.table
# - RUnit
# - igraph
# - ggplot2
# - Hmisc
# - mvtnorm
# - copula
# - bindata
# r_packages:
# - copula
# - libgsl0-dev
# - gsl-bin
language: r
# sudo: false
sudo: required
cache: packages
warnings_are_errors: true
# r_build_args: "--compact-vignettes"
# r_check_args: "--as-cran"
# r_build_args: "--no-build-vignettes --no-manual"
r_check_args: "--as-cran"
before_install:
Rscript -e 'update.packages(ask = FALSE)'
- export RGL_USE_NULL=TRUE
r_packages:
- covr
- copula
r:
- oldrel
- release
- devel
r_github_packages:
- jimhester/covr
addons:
apt:
packages:
- libgsl0-dev
- libicu-dev
- pandoc
env:
global:
- CRAN: http://cran.rstudio.com
- RGL_USE_NULL=TRUE
after_success:
- Rscript -e 'covr::coveralls()'
on_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change