diff options
| author | tradam <git.tradam.fyi> | 2021-08-19 21:34:35 -0400 |
|---|---|---|
| committer | tradam <git.tradam.fyi> | 2021-08-19 21:34:35 -0400 |
| commit | 68108c346f24688c33f4b3d0544e48b25c5e54e7 (patch) | |
| tree | 8b367fc0eab29863c782c116aeddf33b91775cb0 /.travis.yml | |
| download | Plore-Tabletop-Game-68108c346f24688c33f4b3d0544e48b25c5e54e7.tar.gz Plore-Tabletop-Game-68108c346f24688c33f4b3d0544e48b25c5e54e7.zip | |
.
Diffstat (limited to '.travis.yml')
| -rw-r--r-- | .travis.yml | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..5817b59 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,26 @@ +language: rust +sudo: false + +cache: + - cargo + +rust: + - stable + +before_script: + - (test -x $HOME/.cargo/bin/cargo-install-update || cargo install cargo-update) + - (test -x $HOME/.cargo/bin/mdbook || cargo install --vers "^0.3" mdbook) + - cargo install-update -a + +script: + - mdbook build && mdbook test # In case of custom book path: mdbook build path/to/mybook && mdbook test path/to/mybook + +deploy: + provider: pages + skip-cleanup: true + github-token: $GITHUB_TOKEN + local-dir: book # In case of custom book path: path/to/mybook/book + keep-history: false + on: + branch: master + |
