-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
37 lines (29 loc) · 875 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
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
language: R
cache: packages
warnings_are_errors: false # tex on travis R-dev produces lots of warnings
before_install:
# - echo "options(repos = c(CRAN = 'https://packagemanager.rstudio.com/all/__linux__/xenial/latest'))" >> ~/.Rprofile.site
# - echo "options(HTTPUserAgent = paste0('R/', getRversion(), ' R (',
# paste(getRversion(), R.version['platform'], R.version['arch'], R.version['os']),
# ')'))" >> ~/.Rprofile.site
# - sudo apt-get install libgsl0-dev libgsl2
- sudo apt-get update
- sudo apt install libgsl-dev
# env:
# global:
# - ALLOWED_WARNINGS = 3
# - ALLOWED_NOTES = 3
r:
- oldrel
- release
- devel
# r_packages:
r_github_packages:
- r-lib/covr
- cran/gsl
after_success:
- Rscript -e 'covr::codecov()'
branches:
only:
- master