forked from DOI-USGS/dataRetrieval
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
48 lines (38 loc) · 889 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
# 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
dist: trusty
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
warnings_are_errors: true
script:
- |
R CMD build .
travis_wait 20 R CMD check dataRetrieval*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