Permalink
Newer
100644
32 lines (24 sloc)
572 Bytes
|
|
||
| 1 | # Sample .travis.yml for R projects from https://github.com/craigcitro/r-travis | |
| 2 | ||
| 3 | language: c | |
|
|
||
| 4 | sudo: required | |
|
|
||
| 5 | ||
| 6 | before_install: | |
|
|
||
| 7 | - curl -OL https://raw.githubusercontent.com/metacran/r-builder/master/pkg-build.sh | |
| 8 | - chmod 755 pkg-build.sh | |
| 9 | - ./pkg-build.sh bootstrap | |
|
|
||
| 10 | ||
| 11 | install: | |
|
|
||
| 12 | - ./pkg-build.sh install_deps | |
|
|
||
| 13 | ||
|
|
||
| 14 | script: | |
| 15 | - ./pkg-build.sh run_tests | |
|
|
||
| 16 | ||
| 17 | after_failure: | |
|
|
||
| 18 | - ./pkg-build.sh dump_logs | |
|
|
||
| 19 | ||
| 20 | notifications: | |
| 21 | email: | |
| 22 | on_success: change | |
|
|
||
| 23 | on_failure: always | |
| 24 | ||
| 25 | env: | |
| 26 | matrix: | |
| 27 | - RVERSION=oldrel | |
| 28 | - RVERSION=release | |
| 29 | - RVERSION=devel | |
| 30 | global: | |
| 31 | - NOT_CRAN=1 |