diff --git a/.travis.yml b/.travis.yml index 830d65d..5a3ea38 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,33 @@ language: r + warnings_are_errors: true + +cache: packages + sudo: required +services: + - docker + +before_install: + - docker pull hrbrmstr/splashttpd + - docker run -p 5023:5023 -p 8050:8050 -p 8051:8051 hrbrmstr/splashttpd + - docker ps -a + r: - oldrel - release - devel -apt_packages: - - libv8-dev - - xclip +addons: + apt: + packages: + - xclip + - libv8-dev env: - global: - - CRAN: http://cran.rstudio.com + - DISPLAY="" + - DISPLAY=:99.0 notifications: email: diff --git a/README.Rmd b/README.Rmd index 8ca5a01..0f85e1d 100644 --- a/README.Rmd +++ b/README.Rmd @@ -1,6 +1,7 @@ --- output: rmarkdown::github_document --- +[![Travis-CI Build Status](https://travis-ci.org/hrbrmstr/splashr.svg?branch=master)](https://travis-ci.org/hrbrmstr/splashr) `splashr` : Tools to Work with the 'Splash' JavaScript Rendering Service diff --git a/README.md b/README.md index 11139dd..5222508 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,6 @@ +[![Travis-CI Build Status](https://travis-ci.org/hrbrmstr/splashr.svg?branch=master)](https://travis-ci.org/hrbrmstr/splashr) + `splashr` : Tools to Work with the 'Splash' JavaScript Rendering Service TL;DR: This package works with Splash rendering servers which are really just a REST API & `lua` scripting interface to a QT browser. It's an alternative to the Selenium ecosystem which was really engineered for application testing & validation. @@ -146,13 +148,13 @@ splash_debug() ## List of 7 ## $ active : list() ## $ argcache: int 0 - ## $ fds : int 21 + ## $ fds : int 14 ## $ leaks :List of 4 ## ..$ Deferred : int 50 ## ..$ LuaRuntime: int 1 ## ..$ QTimer : int 1 ## ..$ Request : int 1 - ## $ maxrss : int 202020 + ## $ maxrss : int 68444 ## $ qsize : int 0 ## $ url : chr "http://localhost:8050" ## - attr(*, "class")= chr [1:2] "splash_debug" "list" @@ -166,7 +168,7 @@ render_html(url = "http://marvel.com/universe/Captain_America_(Steve_Rogers)") ## {xml_document} ## - ## [1] \n