Skip to content

Auto build and deploy documentation to website repo #204

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Nov 23, 2018
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
11 changes: 11 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ rust:
script:
- cargo build --verbose --all
- cargo test --verbose --all
- cargo doc --no-deps --all

env:
# This is used to only capture the regular nightly test in allow_failures
Expand Down Expand Up @@ -64,3 +65,13 @@ matrix:
allow_failures:
- rust: nightly
env: REGULAR_TEST=true

deploy:
provider: pages
repo: RustPython/website
local-dir: target/doc
skip-cleanup: true
github-token: $WEBSITE_GITHUB_TOKEN # Set in the settings page of your repository, as a secure variable
keep-history: true
on:
branch: master