Skip to content

Commit

Permalink
trying to run reverse dependency checks on TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
David Lawrence Miller committed Sep 27, 2014
1 parent b75b2c6 commit 8c62020
Showing 1 changed file with 21 additions and 5 deletions.
26 changes: 21 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,16 +1,32 @@
# Sample .travis.yml for R projects.
#
# See README.md for instructions, or for more configuration options,
# see the wiki:
# file used by TravisCI to run testing on mrds
# this will also check reverse dependencies of mrds -- to check that
# other packages will not break.

# see the wiki for details:
# 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.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
- chmod 755 ./travis-tool.sh
- ./travis-tool.sh bootstrap
# replace the .Rbuildignore, so tests actually run
# replace the .Rbuildignore, so tests actually run
- rm .Rbuildignore
- echo '^travis-tool\.sh$' >>.Rbuildignore
install:
Expand Down

0 comments on commit 8c62020

Please sign in to comment.