trpl-zh-cn/.travis.yml

23 lines
420 B
YAML
Raw Normal View History

2018-01-11 10:27:53 +08:00
sudo: false
dist: trusty
language: rust
cache: cargo
rust:
2018-12-06 22:53:14 +08:00
- beta # Change this to stable when Rust 1.31.0 is out
2018-01-11 10:27:53 +08:00
branches:
only:
- master
before_script:
- (cargo install mdbook --vers 0.1.7 --force || true)
2018-01-11 10:27:53 +08:00
script:
- mdbook build
2018-08-21 10:02:00 +08:00
- echo 'nojekyll' > book/.nojekyll
2018-01-11 10:27:53 +08:00
deploy:
provider: pages
2018-06-26 11:59:44 +08:00
local-dir: book
2018-01-11 10:27:53 +08:00
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: false
on:
branch: master