-
Notifications
You must be signed in to change notification settings - Fork 5
/
Copy path.travis.yml
50 lines (40 loc) · 850 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
language: r
cache:
- packages
- ccache
sudo: required
dist: trusty
latex: false
r:
- release
addons:
apt:
sources:
- sourceline: 'ppa:ubuntugis/ubuntugis-unstable'
packages:
- libudunits2-dev
- libproj-dev
- libgeos-dev
- libgdal-dev
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
- R_CODECOV=true
warnings_are_errors: false
r_github_packages:
- mikejohnson51/AOI
- jimhester/covr
- r-spatial/lwgeom
script:
- |
R CMD build .
travis_wait 20 R CMD check HydroData*tar.gz
after_success:
- if [[ "${R_CODECOV}" ]]; then travis_wait 20 R -e 'covr::coveralls()'; fi s
notifications:
email:
on_success: change
on_failure: change