trpl-zh-cn/.travis.yml
2019-11-17 19:58:25 +08:00

23 lines
374 B
YAML

sudo: false
dist: trusty
language: rust
cache: cargo
rust:
- 1.37.0
branches:
only:
- master
before_script:
- (cargo install mdbook --vers 0.2.3 --force || true)
script:
- mdbook build
- echo 'nojekyll' > book/.nojekyll
deploy:
provider: pages
local-dir: book
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: false
on:
branch: master