forked from alanocallaghan/scater
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updating to native R support in Travis CI
- Loading branch information
Showing
1 changed file
with
6 additions
and
35 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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. |