-
Notifications
You must be signed in to change notification settings - Fork 17
/
.travis.yml
35 lines (31 loc) · 975 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# TODO: Move the book building process to azure pipelines and delete .travis.yml
language: rust
os: linux
cache:
- cargo
matrix:
include:
# Build documentation for the gh-pages branch
- rust: nightly
env: JOB=book-build-and-deploy
cache:
directories:
- $HOME/.cargo
before_script:
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
- (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.1" mdbook)
- cargo install-update -a
script:
- (cd guide && mdbook build)
- cargo doc --no-deps -p blender-mesh -p blender-armature
- mv target/doc guide/book/api
deploy:
provider: pages
skip-cleanup: true
github-token: $GITHUB_TOKEN # Set in travis-ci.org dashboard, marked secure
local-dir: guide/book
keep-history: false
if: branch = master
notifications:
email:
on_success: never