Skip to content

Commit 570907f

Browse files
committed
Test minimal-dependencies in CI
Test that we can build with the minimum versions of all of our declared dependencies. It's sufficient to test on one OS because none of the OSes that we test in CI has OS-dependent dependencies.
1 parent 4827fa8 commit 570907f

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

.travis.yml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -88,6 +88,14 @@ matrix:
8888
- env: TARGET=x86_64-unknown-linux-gnu
8989
rust: stable
9090

91+
# Test that we can build with the lowest version of all dependencies.
92+
# "cargo test" doesn't work because some of our dev-dependencies, like
93+
# rand, can't build with thier own minimal dependencies.
94+
- rust: nightly
95+
script:
96+
- cargo update -Zminimal-versions
97+
- cargo build
98+
9199
before_install: set -e
92100

93101
install:

0 commit comments

Comments
 (0)