From 68108c346f24688c33f4b3d0544e48b25c5e54e7 Mon Sep 17 00:00:00 2001 From: tradam Date: Thu, 19 Aug 2021 21:34:35 -0400 Subject: . --- .travis.yml | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 .travis.yml (limited to '.travis.yml') 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 + -- cgit v1.2.3