trpl-zh-cn/.travis.yml

23 lines
374 B
YAML
Raw Normal View History

2018-01-11 10:27:53 +08:00
sudo: false
dist: trusty
language: rust
cache: cargo
rust:
2019-11-17 19:58:25 +08:00
- 1.37.0
2018-01-11 10:27:53 +08:00
branches:
only:
- master
before_script:
2019-11-17 19:58:25 +08:00
- (cargo install mdbook --vers 0.2.3 --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