mirror of https://github.com/rust-lang/async-book
Add travis
This commit is contained in:
parent
d598899e95
commit
207a3617d8
|
@ -0,0 +1,18 @@
|
|||
sudo: false
|
||||
dist: trusty
|
||||
language: rust
|
||||
|
||||
before_install:
|
||||
- cargo install mdbook --vers '0.2.2' --debug --force
|
||||
|
||||
script:
|
||||
- mdbook build
|
||||
|
||||
deploy:
|
||||
provider: pages
|
||||
skip-cleanup: true
|
||||
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
|
||||
local-dir: book
|
||||
keep-history: false
|
||||
on:
|
||||
branch: master
|
Loading…
Reference in New Issue