forked from Rdatatable/data.table
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
35 lines (30 loc) · 1005 Bytes
/
.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
#
# Travis configuration guide for R language:
# https://docs.travis-ci.com/user/languages/r/
# https://github.com/craigcitro/r-travis/wiki/Porting-to-native-R-support-in-Travis
#
language: r
dist: trusty
sudo: required
cache: packages
warnings_are_errors: true
r_check_args: ""
# empty r_check_args to turn off --as-cran (on by default) as that can be slow
bioc_packages:
- IRanges
- GenomicRanges
r_packages:
- covr
- drat
after_success:
- travis_wait Rscript -e 'library(covr);codecov()'
- test $TRAVIS_REPO_SLUG == "Rdatatable/data.table" && test $TRAVIS_PULL_REQUEST == "false" && test $TRAVIS_BRANCH == "master" && bash deploy.sh
notifications:
email:
on_success: change
on_failure: change
env:
global:
- PKG_CFLAGS="-O3 -Wall -pedantic"
# drat using @jangorecki token
- secure: "CxDW++rsQApQWos+h1z/F76odysyD6AtXJrDwlCHlgqXeKJNRATR4wZDDR18SK+85jUqjoqOvpyrq+5kKuyg6AnA/zduaX2uYE5mcntEUiyzlG/jJUKbcJqt22nyAvFXP3VS60T2u4H6IIhVmr7dArdxLkv8W+pJvf2Tg6kx8Ws="