mirror of
https://github.com/askama-rs/askama.git
synced 2025-10-02 15:25:19 +00:00
Clean up Travis config and check formatting
This commit is contained in:
parent
54a106ca16
commit
ba07e63ea4
14
.travis.yml
14
.travis.yml
@ -2,14 +2,18 @@ language: rust
|
|||||||
rust:
|
rust:
|
||||||
- stable
|
- stable
|
||||||
- beta
|
- beta
|
||||||
script:
|
|
||||||
- cargo test --all
|
|
||||||
cache: cargo
|
cache: cargo
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- rust: nightly-2018-08-24
|
- rust: nightly-2018-08-24
|
||||||
before_script:
|
|
||||||
- rustup component add rustfmt-preview
|
|
||||||
- rustup component add clippy-preview
|
|
||||||
script:
|
script:
|
||||||
- cd testing && cargo test --no-default-features --features with-rocket
|
- cd testing && cargo test --no-default-features --features with-rocket
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- rustup component add rustfmt-preview
|
||||||
|
|
||||||
|
script:
|
||||||
|
- cargo test --all
|
||||||
|
- if [[ "${TRAVIS_RUST_VERSION}" == stable ]]; then
|
||||||
|
cargo fmt -- --check;
|
||||||
|
fi
|
||||||
|
Loading…
x
Reference in New Issue
Block a user