-
Notifications
You must be signed in to change notification settings - Fork 60
/
Copy pathsample_revdeps.travis.yml
41 lines (32 loc) · 1.12 KB
/
sample_revdeps.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
# 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
language: c
env:
- BOOTSTRAP_LATEX="1"
- BOOTSTRAP_LATEX="1" R_CHECK_REVDEP="1" # checks reverse depends
# Create a build matrix that will test a regular check
# and also check the reverse dependencies
matrix:
# http://docs.travis-ci.com/user/build-configuration/#Fast-finishing
# allows the build to "pass" when the non-failure-able builds are done
fast_finish: true
# http://docs.travis-ci.com/user/build-configuration/#Rows-That-are-Allowed-To-Fail
allow_failures:
# allows the revdep build to fail and still "pass" within travis
- env: BOOTSTRAP_LATEX="1" R_CHECK_REVDEP="1"
before_install:
- curl -OL http://raw.githubusercontent.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
install:
- ./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