Skip to content

Commit 501bb95

Browse files
committed
enhancements for travis use
1 parent fa4a38a commit 501bb95

File tree

1 file changed

+20
-23
lines changed

1 file changed

+20
-23
lines changed

.travis.yml

Lines changed: 20 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,38 @@
11
# Sample .travis.yml for R projects.
22
#
3-
# See https://github.com/craigcitro/r-travis
4-
#
5-
# Running with default settings which for now means 'no manual, no vignettes'
6-
# and checking '--as-cran'.
3+
# See README.md for instructions, or for more configuration options,
4+
# see the wiki:
5+
# https://github.com/craigcitro/r-travis/wiki
76

87
language: c
9-
script: ./travis-tool.sh run_tests
8+
9+
env:
10+
global:
11+
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
12+
- R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran"
13+
- RunAllRcppTests="yes"
14+
- CC="gcc-4.7"
15+
- CXX="g++-4.7"
16+
1017
before_install:
1118
- curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
1219
- chmod 755 ./travis-tool.sh
1320
- ./travis-tool.sh bootstrap
21+
- ./travis-tool.sh install_aptget gcc-4.7 g++-4.7
22+
1423
install:
15-
- ./travis-tool.sh r_install RUnit inline rbenchmark highlight
24+
- ./travis-tool.sh install_r RUnit inline rbenchmark highlight
25+
26+
script:
27+
- ./travis-tool.sh run_tests
28+
1629
after_script:
1730
- ./travis-tool.sh dump_logs
31+
1832
notifications:
1933
email:
2034
on_success: change
2135
on_failure: change
2236

23-
# Options used for building or testing your R package can be
24-
# controlled by uncommenting one or both of the following; the values
25-
# here are the defaults:
26-
env:
27-
global:
28-
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
29-
- R_CHECK_ARGS="--no-build-vignettes --no-manual --as-cran"
30-
- RunAllRcppTests="yes"
3137

32-
# See the travis docs for more information:
33-
# http://about.travis-ci.org/docs/user/build-configuration/#The-Build-Matrix
34-
35-
36-
# Also works but is slower as it needs devtools:
37-
# - ./travis-tool.sh install_deps
38-
39-
# Currently unused (and GSL used for illustration)
40-
# - ./travis-tool.sh aptget_install libgsl0-dev
4138

0 commit comments

Comments
 (0)