Travis: build and deploy the book

This commit is contained in:
Chris Wong 2019-03-27 21:54:35 +13:00
parent c5e8eb4d5f
commit eb4ef2f969

View file

@ -21,3 +21,14 @@ jobs:
- name: "Benchmarks" - name: "Benchmarks"
script: script:
- (cd benchmarks && cargo test --benches) - (cd benchmarks && cargo test --benches)
- name: "Documentation"
script:
- (cd docs && make -j$(nproc))
deploy:
provider: pages
skip_cleanup: true
github_token: $GITHUB_TOKEN
fqdn: maud.lambda.xyz
local_dir: docs/site
on:
branch: master