forked from DOI-USGS/sbtools
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
42 lines (32 loc) · 995 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
## .travis.yml file for use with metacran/r-builder
## See https://github.com/metacran/r-builder for details.
language: c
sudo: required
dist: trusty
before_install:
- sudo apt-get update
- sudo apt-get install -y gdal-bin libgdal-dev libgdal1-dev netcdf-bin libproj-dev
- curl -OL https://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
- ./travis-tool.sh install_deps
env:
global:
- R_LIBS="https://cran.rstudio.com"
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
- R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran"
- BOOTSTRAP_LATEX=""
- NOT_CRAN="true"
install:
- ./travis-tool.sh install_deps
- ./travis-tool.sh r_install covr
script:
- ./travis-tool.sh run_tests
after_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change
after_success:
- ./travis-tool.sh run_script -e 'library(covr);codecov()'