-
Notifications
You must be signed in to change notification settings - Fork 8
/
.travis.yml
37 lines (25 loc) · 991 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
# Run Travis CI for R using https://eddelbuettel.github.io/r-travis/
language: c
sudo: required
## use 'trusty' which is old (14.04) but not as jurassic as the default of 'precise' (12.04)
dist: trusty
env:
global:
## declare the 'geanders' drat repo
- DRAT_REPOS=geanders
before_install:
- curl -OLs https://eddelbuettel.github.io/r-travis/run.sh && chmod 0755 run.sh
- ./run.sh bootstrap
install:
## install as binaries what we can get as binaries
- ./run.sh install_aptget r-cran-data.table r-cran-dplyr r-cran-mapproj r-cran-ggmap r-cran-ggplot2 r-cran-lubridate r-cran-maps r-cran-rcolorbrewer r-cran-stringr r-cran-tidyr r-cran-knitr r-cran-pander r-cran-rmarkdown
## install as R packages what we (currently) cannot get as binaries
- ./run.sh install_r hurricaneexposuredata weathermetrics lazyeval purrr rlang
script:
- ./run.sh run_tests
after_failure:
- ./run.sh dump_logs
notifications:
email:
on_success: change
on_failure: change