trpl-zh-cn/.travis.yml

23 lines
363 B
YAML
Raw Normal View History

2018-01-11 10:27:53 +08:00
sudo: false
dist: trusty
language: rust
cache: cargo
rust:
- nightly
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 09:30:25 +08:00
- touch 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