AMR/.travis.yml

33 lines
646 B
YAML
Raw Normal View History

# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
2018-03-29 12:56:03 +02:00
# Setting up R deps
2018-03-11 21:00:11 +01:00
language: r
2018-03-29 12:56:03 +02:00
r: 3.2
2018-03-29 15:17:48 +02:00
r_packages:
- covr
- testthat
- dplyr
- rvest
- xml2
- reshape2
2018-03-29 12:56:03 +02:00
# system deps
2018-03-23 14:59:50 +01:00
os:
- linux
- osx
2018-03-29 13:16:08 +02:00
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
2018-03-29 14:07:54 +02:00
- if [ $TRAVIS_OS_NAME = osx ]; then brew install xclip; fi
2018-03-23 14:59:50 +01:00
2018-03-29 12:56:03 +02:00
# postrun
after_success:
- Rscript -e 'covr::codecov()'
notifications:
email:
recipients:
- m.s.berends@umcg.nl
- c.f.luz@umcg.nl
on_success: change
2018-03-29 14:07:54 +02:00
on_failure: change