Skip to content

Commit

Permalink
Updating to native R support in Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
davismcc committed Oct 10, 2017
1 parent feef1f0 commit f605cc0
Showing 1 changed file with 6 additions and 35 deletions.
41 changes: 6 additions & 35 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,43 +1,14 @@
## .travis.yml file for use with metacran/r-builder
## See https://github.com/metacran/r-builder for details.
## .travis.yml file for use with native R support in Travis CI
## See https://docs.travis-ci.com/user/languages/r/ for details.

language: c
language: r
r: bioc-devel
cache: packages

sudo: required

before_install:
- sudo add-apt-repository ppa:ubuntu-toolchain-r/test -y
- sudo apt-get update -qq
- sudo apt-get install -qq libyajl-dev libxml2-dev libxqilla-dev libstdc++-4.8-dev
- sudo apt-get install -qq g++-4.8
- export CXX="g++-4.8"
- export CC="gcc-4.8"
- curl -OL https://raw.githubusercontent.com/metacran/r-builder/master/pkg-build.sh
- chmod 755 pkg-build.sh
- ./pkg-build.sh bootstrap

install:
- ./pkg-build.sh install_bioc_deps
- ./pkg-build.sh install_github jimhester/covr

script:
- ./pkg-build.sh run_tests

after_success:
- ./pkg-build.sh run_script -e 'covr::codecov()'

after_failure:
- ./pkg-build.sh dump_logs
sudo: false

notifications:
email:
on_success: change
on_failure: change

env:
global:
- BOOTSTRAP_LATEX=true # Required to build pdf vignettes (+ manual); slower
- R_CHECK_ARGS="--no-vignettes --timings" # Mimic BioC build machines
matrix:
- RVERSION=devel # BioC 3.3 uses R 3.3.x (R-devel at the time of writing).
# This needs to be manually updated upon new BioC version.

0 comments on commit f605cc0

Please sign in to comment.