Skip to content

Commit 2c992ae

Browse files
committed
add travis.yml to deploy the website; I stole this from the all-hands page
1 parent 69e0542 commit 2c992ae

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.travis.yml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
language: rust
2+
sudo: false
3+
4+
cache:
5+
- cargo
6+
7+
env:
8+
RUSTINFRA_DEPLOY_DIR: book
9+
import:
10+
- lang/simpleinfra/travis-configs/static-websites.yml
11+
12+
rust:
13+
- stable
14+
15+
before_script:
16+
- (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update)
17+
- (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.3" mdbook)
18+
- cargo install-update -a
19+
20+
script:
21+
- mdbook build && mdbook test

0 commit comments

Comments
 (0)