Skip to content

Commit

Permalink
keep travis only to build on gh page
Browse files Browse the repository at this point in the history
  • Loading branch information
cderv committed Dec 16, 2020
1 parent b36bcff commit 1cb002c
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,19 +17,16 @@ repos:
before_install:
- "curl https://xran.yihui.org/.gitconfig -o ~/.gitconfig"
- Rscript -e "update.packages(.libPaths()[1], ask = FALSE)"
- export BUILD_ALL="$(git log --format=%B --no-merges -n 1 | grep -E "\[build all\]")"

jobs:
include:
- r: oldrel
- r: release
before_script:
- "[ -x \"$HOME/bin/phantomjs\" ] || Rscript -e \"webshot::install_phantomjs()\""
- R CMD INSTALL .
- cd inst/examples
- "[ ! -z \"$BUILD_ALL\" ] && make all || make gitbook"
- make gitbook
- cd ../..
after_success:
- "(curl https://xran.yihui.org/r-xran | bash)"
- cd inst/examples; ./deploy_github
- r: devel

0 comments on commit 1cb002c

Please sign in to comment.