-
Notifications
You must be signed in to change notification settings - Fork 324
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update travis config * Separate out individual build jobs for faster wall-clock testing * Fix clippy not actually denying warnings (excluded examples because these are currently failing and have non-trivial fixes) * Add build job that checks --no-default-features works * Add build job that checks for intra-doc-resolution failures (excluded tide because of bugs in re-exports with the intra-doc feature) * Fix warnings * Fix doc-link in tide-cookies
- Loading branch information
1 parent
77b3a1c
commit 85b85e9
Showing
3 changed files
with
37 additions
and
19 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,30 @@ | ||
language: rust | ||
rust: | ||
- nightly-2019-05-09 | ||
|
||
before_script: | | ||
rustup component add rustfmt clippy | ||
script: | | ||
cargo fmt --all -- --check && | ||
cargo clippy --all --all-features -- -D clippy::all && | ||
cargo build --no-default-features --verbose && | ||
cargo build --all --all-features --verbose && | ||
cargo test --all --all-features --verbose | ||
rust: nightly-2019-05-09 | ||
cache: cargo | ||
|
||
matrix: | ||
include: | ||
- name: cargo doc | ||
env: [CACHE_NAME=docs] | ||
script: | ||
- RUSTDOCFLAGS=-Dwarnings | ||
cargo doc --all --all-features --no-deps --exclude tide | ||
|
||
- name: cargo fmt | ||
cache: false | ||
before_script: rustup component add rustfmt | ||
script: cargo fmt --all -- --check | ||
|
||
- name: cargo clippy | ||
env: [CACHE_NAME=clippy] | ||
before_script: rustup component add clippy | ||
script: cargo clippy --all --all-targets --exclude examples -- -Dwarnings | ||
|
||
- name: cargo build --no-default-features | ||
env: [CACHE_NAME=no-default-features] | ||
script: | ||
- cargo build --manifest-path tide/Cargo.toml --no-default-features | ||
- cargo build --manifest-path tide-core/Cargo.toml --no-default-features | ||
|
||
- name: cargo test | ||
script: cargo test --all --verbose |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters