Skip to content

Commit

Permalink
Merge branch 'master' into summary-rows-changes
Browse files Browse the repository at this point in the history
* master:
  Modify _travis.yml (#263)
  • Loading branch information
rich-iannone committed Apr 24, 2019
2 parents 08ea4d9 + 9aeb069 commit c4c8833
Showing 1 changed file with 18 additions and 9 deletions.
27 changes: 18 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,24 +2,27 @@

language: R
sudo: false
cache: packages
cache:
packages: true
warnings_are_errors: false

r:
- oldrel
- release
- devel

notifications:
email:
on_success: change
on_failure: change

jobs:
include:
- stage: "R CMD check"
r: oldrel
- r: release
- r: devel

- stage: deploy
name: covr
r: release
cache:
packages: false
r_binary_packages:
- covr
script:
Expand All @@ -28,13 +31,19 @@ jobs:
- stage: deploy
name: pkgdown
r: release
if: branch IN (master)
cache:
packages: false
if: |
branch IN (master, travis) AND \
type = push AND \
repo = rstudio/gt
r_binary_packages:
- pkgdown
- remotes
script:
- Rscript -e "devtools::install()"
- Rscript -e "remotes::install_local()"
- Rscript -e "pkgdown::build_site()"
- Rscript -e "remove.packages(devtools::as.package('.')$package)"
- Rscript -e "remove.packages('gt')"
deploy:
provider: pages
local-dir: docs
Expand Down

0 comments on commit c4c8833

Please sign in to comment.