Permalink
Browse files

Update .travis.yml

  • Loading branch information...
1 parent e115e5f commit fe1a6e81ad65b05c59e717f5105f16c5edb5113e @trinker committed on GitHub Nov 26, 2016
Showing with 29 additions and 22 deletions.
  1. +29 −22 .travis.yml
View
@@ -1,26 +1,33 @@
-language: r
-sudo: false
-cache: packages
-r_build_args: --compact-vignettes=gs+qpdf --resave-data=best
-r_check_args: --as-cran
+language: java
+
+sudo: required
+before_install:
+ - curl -OL http://raw.github.com/craigcitro/r-travis/master/scripts/travis-tool.sh
+ - chmod 755 ./travis-tool.sh
+ - sudo add-apt-repository -y ppa:texlive-backports/ppa
+ - ./travis-tool.sh bootstrap
+install:
+ - sh -e /etc/init.d/xvfb start
+ - sudo R CMD javareconf
+ - ./travis-tool.sh install_r_binary xml
+ - ./travis-tool.sh install_r_binary gplots
+ - ./travis-tool.sh install_r_binary tm
+ - ./travis-tool.sh install_r_binary wordcloud
+ - ./travis-tool.sh install_r_binary rjava
+ - ./travis-tool.sh install_github hadley/devtools
+ - ./travis-tool.sh install_github trinker/qdapTools
+ - ./travis-tool.sh install_github trinker/qdapRegex
+ - ./travis-tool.sh install_github trinker/qdapDictionaries
+ - ./travis-tool.sh github_package ropensci/gender
+ - ./travis-tool.sh install_deps
+script: ./travis-tool.sh run_tests
+notifications:
+ email:
+ on_success: change
+ on_failure: change
env:
global:
+ - R_BUILD_ARGS="--compact-vignettes=gs+qpdf --resave-data=best"
+ - R_CHECK_ARGS="--as-cran"
- DISPLAY=:99.0
- BOOTSTRAP_LATEX=1
-
-r_github_packages:
- - jimhester/covr
- - trinker/qdapTools
- - trinker/qdapRegex
- - trinker/qdapDictionaries
- - ropensci/gender
-
-
-before_install:
- - sh -e /etc/init.d/xvfb start
-
-
-after_success:
- - Rscript -e 'covr::coveralls()'
-
-

0 comments on commit fe1a6e8

Please sign in to comment.