Skip to content

Commit

Permalink
Update .travis.yml
Browse files Browse the repository at this point in the history
Attempt to fix travis testing based on scde's travis?
  • Loading branch information
JEFworks committed May 8, 2018
1 parent 7bf7836 commit b811f9b
Showing 1 changed file with 13 additions and 16 deletions.
29 changes: 13 additions & 16 deletions .travis.yml
Expand Up @@ -10,31 +10,28 @@ env:
- R_BUILD_ARGS="--no-build-vignettes --no-manual"
- R_CHECK_ARGS="--no-build-vignettes --no-manual --timings" ## do not build vignettes or manual
- _R_CHECK_TIMINGS_="0" ## get the timing information for the examples for all of your functions
- _R_CHECK_FORCE_SUGGESTS_="FALSE" ## Some suggested packages not
## available for r-oldrel

r:
- release

# do not build vignettes...takes too long and times out on travis
r_build_args: --no-build-vignettes --no-manual
r_check_args: --no-build-vignettes --no-manual --timings

# catch package installation issues sooner rather than later
r_packages:
- devtools
- ggraph
r_github_packages:
- GuangchuangYu/enrichplot # for some reason won't install via bioconductor
- JEFworks/HoneyBADGER

# for codecov
r_packages:
- covr

# install jags
before_install:
- sudo apt-get install jags
- sudo apt-get install r-cran-rjags

install:
- R -e 'install.packages("devtools")'
- R -e 'devtools::install_deps(dependencies = TRUE)'
# catch package installation issues sooner rather than later
- R -e 'devtools::install_github("JEFworks/HoneyBADGER")'

# do not build vignettes...takes too long and times out on travis
script:
- R CMD build --no-build-vignettes --no-manual .
- R CMD check --no-build-vignettes --no-manual --timings *tar.gz

# we need to install BiocInstaller for testing Bioconductor packages
bioc_required: true

Expand Down

0 comments on commit b811f9b

Please sign in to comment.