-
Notifications
You must be signed in to change notification settings - Fork 54
/
Copy path.travis.yml
48 lines (40 loc) · 1.52 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
# R for travis: see documentation at https://docs.travis-ci.com/user/languages/r
## you can check for validity of this config file here: https://config.travis-ci.com/explore
sudo: required
language: r
cache: packages
## test against bioc-release:
r: bioc-devel
## apparently helps linux systems find rgl:
before_install:
- if [ "$TRAVIS_OS_NAME" == "linux" ]; then sudo apt-get install libcgal-dev libglu1-mesa-dev mesa-common-dev; fi
## build args here:
r_build_args: --no-build-vignettes --no-manual --no-resave-data --timings
## check args here:
r_check_args: --no-build-vignettes --no-manual
## build warnings not errors (our pkg size will exceed 5 MB):
warnings_are_errors: false
## 'snow' is required by parallel but for some reason not automatically installed
r_packages:
- covr
after_success:
- Rscript -e "covr::codecov(type = c('tests', 'examples'))"
git:
## clone far back so we can --reset and push --force as far back as we need:
depth: 9999999
## branches to build over - .travs.yml needs to be present in these branches
branches:
only:
- devel
- master
- feature
- RELEASE_3_11
## build notification setup - emails need to be a from a contributor to the package
notifications:
email:
recepients:
- [email protected] ## does not work atm
on_success: always ## or 'change'
on_failure: always
## there is a way to get slack notifications directly: https://docs.travis-ci.com/user/notifications#configuring-slack-notifications
slack: lecaolab:Sjzz66mnqBJcmUnH9gVn4CBO