Permalink
Fetching contributors…
Cannot retrieve contributors at this time
30 lines (25 sloc) 815 Bytes
# 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
sudo: required
dist: trusty
before_install:
- sudo add-apt-repository ppa:zarquon42/travis-trusty -y
- sudo apt-get update -qq
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- export RGL_USE_NULL=TRUE
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
- ./travis-tool.sh install_r_binary rgl Rcpp RcppEigen RcppArmadillo foreach doParallel yaImpute testthat colorRamps morpho
install:
- ./travis-tool.sh install_deps
script: ./travis-tool.sh run_tests
after_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change