AMR/.travis.yml

28 lines
647 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-04-19 14:10:57 +02:00
r: 3.2
2018-04-02 11:11:21 +02:00
r_packages: covr
2018-04-02 15:03:22 +02:00
cache: packages
2018-04-02 11:11:21 +02:00
# system deps, install xclip for clipboard support
2018-03-23 14:59:50 +01:00
os:
- linux
- osx
2018-04-02 15:03:22 +02:00
before_install:
2018-03-29 13:16:08 +02:00
- 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