8000 Container based travis by jimhester · Pull Request #56 · r-lib/xml2 · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
8000

Container based travis #56

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 9, 2015
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
40 changes: 35 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,8 +1,38 @@
# Sample .travis.yml for R projects from https://github.com/craigcitro/r-travis
language: c
sudo: false

language: r
sudo: required
warnings_are_errors: true
addons:
apt:
sources:
- r-packages-precise
packages:
- r-base-dev
- r-recommended
- pandoc
- libxml2-dev

apt_packages:
- libxml2-dev
env:
- R_LIBS_USER=~/R/library

cache:
directories:
$R_LIBS_USER

before_script:
- mkdir -p "$R_LIBS_USER"
- Rscript -e 'if (length(find.package("devtools", quiet = TRUE)) == 0L) { install.packages("devtools", repos = "http://cran.rstudio.com") }'
- Rscript -e 'library(devtools);update_packages("devtools", repos = "http://cran.rstudio.com")'
- Rscript -e 'library(devtools);install_deps(repos = "http://cran.rstudio.com", dependencies = TRUE)'

script:
- Rscript -e 'devtools::check()'

notifications:
email:
on_success: change
on_failure: change

after_success:
- Rscript -e 'if (length(find.package("covr", quiet = TRUE)) == 0L) { install.packages("covr", repos = "http://cran.rstudio.com") }'
- Rscript -e 'covr::codecov()'
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @ 4E58 @
# xml2
[![Coverage Status](https://img.shields.io/codecov/c/github/jimhester/xml2/master.svg)](https://codecov.io/github/jimhester/xml2?branch=master)

The xml2 package is a binding to [libxml2](http://xmlsoft.org), making it easy to work with HTML and XML from R. The API is somewhat inspired by [jQuery](http://jquery.com).

Expand Down
0