mirror of
https://github.com/salsa-rs/salsa.git
synced 2024-11-24 20:20:26 +00:00
29 lines
No EOL
722 B
YAML
29 lines
No EOL
722 B
YAML
language: rust
|
|
sudo: false
|
|
|
|
rust:
|
|
- nightly
|
|
- beta
|
|
- stable
|
|
cache:
|
|
- cargo
|
|
matrix:
|
|
allow_failures:
|
|
- 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:
|
|
- 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 --examples --all
|
|
- cd book && mdbook build && mdbook test
|
|
deploy:
|
|
provider: pages
|
|
skip-cleanup: true
|
|
github-token: $GITHUB_TOKEN
|
|
local-dir: book/book
|
|
keep-history: false
|
|
on:
|
|
branch: master |