Skip to content

Commit

Permalink
Automatically build website.
Browse files Browse the repository at this point in the history
Hopefully fixes #19
  • Loading branch information
hadley committed Aug 24, 2018
1 parent 557fcac commit 9386e4a
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .Rbuildignore
@@ -1,3 +1,5 @@
^docs$
^_pkgdown\.yml$
^.*\.Rproj$
^\.Rproj\.user$
^\.travis\.yml$
Expand Down
1 change: 1 addition & 0 deletions .gitignore
@@ -1,3 +1,4 @@
.Rproj.user
.Rhistory
.RData
docs
18 changes: 17 additions & 1 deletion .travis.yml
Expand Up @@ -4,12 +4,28 @@ language: R
sudo: false
cache: packages

matrix:
include:
- r: release
after_success:
- Rscript -e 'covr::codecov()'
before_deploy:
- R CMD INSTALL .
- Rscript -e 'pkgdown::build_site()'
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN
local-dir: docs
fqdn: lobstr.r-lib.org
on:
branch: master

r:
- 3.1
- 3.2
- 3.3
- oldrel
- release
- devel

after_success:
Expand Down
1 change: 1 addition & 0 deletions DESCRIPTION
Expand Up @@ -19,6 +19,7 @@ Imports:
Suggests:
covr,
pillar,
pkgdown,
testthat
LinkingTo:
Rcpp
Expand Down
Empty file added _pkgdown.yml
Empty file.

0 comments on commit 9386e4a

Please sign in to comment.