1
0
mirror of https://github.com/msberends/AMR.git synced 2024-12-26 18:06:11 +01:00
AMR/.travis.yml

52 lines
1.1 KiB
YAML
Raw Normal View History

2018-03-29 12:56:03 +02:00
# Setting up R deps
language: r
2018-07-10 16:05:11 +02:00
jobs:
include:
2018-07-30 01:18:40 +02:00
- r: 3.1
os: linux
2018-07-30 01:22:50 +02:00
warnings_are_errors: false
2018-07-10 16:05:11 +02:00
- r: 3.2
2018-07-10 16:36:30 +02:00
os: linux
- r: 3.2
os: osx
- r: 3.3
os: linux
2018-07-10 16:05:11 +02:00
- r: 3.3
2018-07-10 16:36:30 +02:00
os: osx
2018-07-10 16:05:11 +02:00
- r: 3.4
2018-07-10 16:36:30 +02:00
os: linux
- r: 3.4
os: osx
- r: release
os: linux
2018-07-10 16:05:11 +02:00
- r: release
2018-07-10 16:36:30 +02:00
os: osx
- r: devel
os: linux
warnings_are_errors: false
2018-08-10 15:06:09 +02:00
# matrix:
# allow_failures:
# - r: 3.1
# - r: devel
2018-07-10 16:05:11 +02:00
r_packages: covr
2018-04-02 15:03:22 +02:00
cache: packages
2018-07-10 12:27:07 +02:00
cran: https://cran.rstudio.com
2018-06-27 15:56:59 +02:00
before_install:
# needed for clipboard function:
# - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get -qq update; fi
2018-07-30 01:18:40 +02:00
# - if [ $TRAVIS_OS_NAME = linux ]; then sudo apt-get install -y xclip; fi
2018-06-27 15:56:59 +02:00
- if [ $TRAVIS_OS_NAME = osx ]; then brew install xclip; fi
2018-07-11 11:04:54 +02:00
- if [ $TRAVIS_OS_NAME = osx ]; then brew install libgit2; fi
2018-03-23 14:59:50 +01:00
2018-03-29 12:56:03 +02:00
# postrun
after_success:
2018-07-30 01:18:40 +02:00
# only run on osx, so clipboard functions can be checked
2018-07-10 16:36:30 +02:00
- if [ $TRAVIS_OS_NAME = osx ]; then Rscript -e 'covr::codecov()'; fi
notifications:
email:
recipients:
- m.s.berends@umcg.nl
2018-05-22 16:34:22 +02:00
# - c.f.luz@umcg.nl
on_success: change
2018-03-29 14:07:54 +02:00
on_failure: change