forked from Rdatatable/data.table
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
36 lines (31 loc) · 1.07 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
# Sample .travis.yml for R projects.
#
# See README.md for instructions, or for more configuration options,
# see the wiki:
# https://github.com/craigcitro/r-travis/wiki
#
# Hack for 'error on warning' except when the warning is about vignette pdfs/html
# Thanks to csgillespie for https://github.com/csgillespie/travis-examples/tree/master/bioconductor
language: c
before_install:
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- sed "s/grep -q WARNING/grep WARNING \| grep -v inst\/doc \| grep -v 'WARNING:.*There was'/" travis-tool.sh > ./tmp.sh
- mv tmp.sh travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
install:
- ./travis-tool.sh bioc_install IRanges
- ./travis-tool.sh bioc_install GenomicRanges
- ./travis-tool.sh install_deps
script: ./travis-tool.sh run_tests
after_failure:
- ./travis-tool.sh dump_logs
notifications:
email:
on_success: change
on_failure: change
env:
global:
- PKG_CFLAGS="-g -O3 -Wall -pedantic"
- WARNINGS_ARE_ERRORS=1