mirror of
https://github.com/salsa-rs/salsa.git
synced 2025-01-12 08:30:51 +00:00
update travis to test book and publish
This commit is contained in:
parent
e5d9409d46
commit
fd61e392d0
2 changed files with 21 additions and 3 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,3 +2,4 @@
|
||||||
**/*.rs.bk
|
**/*.rs.bk
|
||||||
Cargo.lock
|
Cargo.lock
|
||||||
TAGS
|
TAGS
|
||||||
|
nikom
|
||||||
|
|
23
.travis.yml
23
.travis.yml
|
@ -1,12 +1,29 @@
|
||||||
language: rust
|
language: rust
|
||||||
|
sudo: false
|
||||||
|
|
||||||
rust:
|
rust:
|
||||||
- nightly
|
- nightly
|
||||||
- beta
|
- beta
|
||||||
- stable
|
- stable
|
||||||
|
cache:
|
||||||
|
- cargo
|
||||||
matrix:
|
matrix:
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
|
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:
|
script:
|
||||||
- RUST_BACKTRACE=1 CARGO_INCREMENTAL=0 cargo test --all
|
- RUST_BACKTRACE=1 CARGO_INCREMENTAL=0 cargo test --all
|
||||||
- RUST_BACKTRACE=1 CARGO_INCREMENTAL=0 cargo test --tests --all
|
- RUST_BACKTRACE=1 CARGO_INCREMENTAL=0 cargo test --tests --all
|
||||||
- RUST_BACKTRACE=1 CARGO_INCREMENTAL=0 cargo test --examples --all
|
- RUST_BACKTRACE=1 CARGO_INCREMENTAL=0 cargo test --examples --all
|
||||||
|
- cd book && mdbook build && mdbook test
|
||||||
|
deploy:
|
||||||
|
provider: pages
|
||||||
|
skip-cleanup: true
|
||||||
|
github-token: $GITHUB_TOKEN
|
||||||
|
local-dir: path/to/mybook/book
|
||||||
|
keep-history: false
|
||||||
|
on:
|
||||||
|
branch: master
|
Loading…
Reference in a new issue