forked from gmum/gmum.r
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
31 lines (24 loc) · 845 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
# Sample .travis.yml for R projects.
#
# see the wiki:
# https://github.com/craigcitro/r-travis/wiki
language: c
sudo: required
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
# Test datasets
- cd inst/dev/datasets/svm/ && ./download_large.sh && cd ../../../..
- cd inst/dev/datasets/svm/ && ./download_transduction.sh && cd ../../../..
install:
- ./travis-tool.sh install_deps
# Install dependencies of R tests
- Rscript -e 'library("devtools"); library("methods"); options(repos=c(CRAN="http://cran.rstudio.com")); install_deps(dependencies = "Suggests")'
script: ./travis-tool.sh run_tests
after_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change