trpl-zh-cn/.travis.yml
2018-03-09 20:56:00 +08:00

23 lines
368 B
YAML

sudo: false
dist: trusty
language: rust
cache: cargo
rust:
- nightly
branches:
only:
- master
before_script:
- (cargo install mdbook --vers 0.0.26 --force || true)
script:
- mdbook build
deploy:
edge:
branch: v1.8.47
provider: pages
local-dir: mdbook
skip-cleanup: true
github-token: $GITHUB_TOKEN
keep-history: false
on:
branch: master