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:
parent
434b7e36f8
commit
7caef48bfe
|
@ -11,7 +11,7 @@ matrix:
|
||||||
- rust: nightly
|
- rust: nightly
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cargo test
|
- cargo test --all
|
||||||
|
|
||||||
deploy:
|
deploy:
|
||||||
provider: pages
|
provider: pages
|
||||||
|
|
|
@ -184,7 +184,7 @@ where
|
||||||
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result {
|
||||||
match *self {
|
match *self {
|
||||||
Error::Upstream(ref why) => fmt::Display::fmt(why, f),
|
Error::Upstream(ref why) => fmt::Display::fmt(why, f),
|
||||||
Error::NoCapacity => f.pad("rate limit exceeded"),
|
Error::RateLimit => f.pad("rate limit exceeded"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue