AMR/.travis.yml

33 lines
646 B
YAML

# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
# Setting up R deps
language: r
r: 3.2
r_packages:
- covr
- testthat
- dplyr
- rvest
- xml2
- reshape2
# system deps
os:
- linux
- osx
install:
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -qq update; fi
- if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install -y xclip; fi
- if [ $TRAVIS_OS_NAME = osx ]; then brew install xclip; fi
# postrun
after_success:
- Rscript -e 'covr::codecov()'
notifications:
email:
recipients:
- m.s.berends@umcg.nl
- c.f.luz@umcg.nl
on_success: change
on_failure: change