-
Notifications
You must be signed in to change notification settings - Fork 20
/
Copy path.travis.yml
36 lines (30 loc) · 1.13 KB
/
.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
# 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: c
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- sudo add-apt-repository -y ppa:ubuntugis/ubuntugis-unstable
- sudo apt-get update -qq
- ./travis-tool.sh bootstrap
# teamlucc R depends
- ./travis-tool.sh install_r_binary raster Rcpp RcppArmadillo
# teamlucc R imports deps
- ./travis-tool.sh install_r_binary rgeos rgdal mgcv plyr reshape2 ggplot2 kernlab e1071 randomForest caret sp mclust lubridate XML
- ./travis-tool.sh install_r SDMTools wrspathrowData wrspathrow glcm spatial.tools
# teamlucc R suggested
- ./travis-tool.sh install_r_binary testthat landsat foreach doSNOW gridExtra itertools
# others
- ./travis-tool.sh install_r_binary devtools httr
install:
- ./travis-tool.sh install_deps
script: ./travis-tool.sh run_tests
on_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change