Change Travis test script to `cargo test --all` (#59)

This will ensure that all crates are built & tested, and hopefully prevent errors like the one fixed in #58 from slipping past CI.
This commit is contained in:
Eliza Weisman 2018-02-28 11:06:17 -08:00 committed by GitHub
parent 434b7e36f8
commit 7caef48bfe
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -11,7 +11,7 @@ matrix:
- rust: nightly
script:
- cargo test
- cargo test --all
deploy:
provider: pages

View File

@ -184,7 +184,7 @@ where
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
match *self {
Error::Upstream(ref why) => fmt::Display::fmt(why, f),
Error::NoCapacity => f.pad("rate limit exceeded"),
Error::RateLimit => f.pad("rate limit exceeded"),
}
}
}