-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
39 lines (32 loc) · 880 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
language: R
cache: packages
sudo: required
dist: trusty
matrix:
include:
- os: linux
r: release
- os: linux
r: devel
env: R_CODECOV=true
before_install:
- sudo add-apt-repository ppa:ubuntugis/ppa --yes
- sudo apt-get --yes --force-yes update -qq
- sudo apt-get install --yes libudunits2-dev libproj-dev libgeos-dev libgdal-dev libcurl4-openssl-dev libv8-3.14-dev netcdf-bin
env:
global:
- R_BUILD_ARGS="--no-vignettes --no-manual"
- R_CHECK_ARGS="--no-vignettes --no-manual --as-cran"
- NOT_CRAN="true"
- _R_CHECK_FORCE_SUGGESTS_=false
warnings_are_errors: false
r_github_packages:
- jimhester/covr
- mikejohnson51/AOI
- mikejohnson51/HydroData
after_success:
- if [[ "${R_CODECOV}" ]]; then travis_wait 20 R -e 'covr::coveralls()'; fi
notifications:
email:
on_success: change
on_failure: change