-
Notifications
You must be signed in to change notification settings - Fork 20
/
.travis.yml
51 lines (40 loc) · 980 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
44
45
46
47
48
49
50
# Sample .travis.yml for R projects.
#
# See README.md for instructions, or for more configuration options,
# see the wiki:
# https://github.com/craigcitro/r-travis/wiki
language: r
cache: packages
matrix:
include:
- os: linux
r: release
- os: linux
r: devel
env: R_CODECOV=true
addons:
apt:
packages:
- libcurl4-openssl-dev
env:
global:
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
- R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran"
- NOT_CRAN="true"
- _R_CHECK_FORCE_SUGGESTS_=false
repos:
CRAN: https://cran.rstudio.com
GRAN: https://owi.usgs.gov/R
warnings_are_errors: true
script:
- |
R CMD build ${R_BUILD_ARGS} .
travis_wait 20 R CMD check ${R_CHECK_ARGS} rloadest*tar.gz
r_github_packages:
- jimhester/covr
after_success:
- if [[ "${R_CODECOV}" ]]; then R -e 'covr::coveralls()'; fi
notifications:
email:
on_success: change
on_failure: change