summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--.travis.yml8
-rw-r--r--Cargo.toml2
2 files changed, 9 insertions, 1 deletions
diff --git a/.travis.yml b/.travis.yml
index cb7e1024..a667201a 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -88,6 +88,14 @@ matrix:
- env: TARGET=x86_64-unknown-linux-gnu
rust: stable
+ # Test that we can build with the lowest version of all dependencies.
+ # "cargo test" doesn't work because some of our dev-dependencies, like
+ # rand, can't build with thier own minimal dependencies.
+ - rust: nightly
+ script:
+ - cargo update -Zminimal-versions
+ - cargo build
+
before_install: set -e
install:
diff --git a/Cargo.toml b/Cargo.toml
index 6b9f7517..b1af4605 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -18,7 +18,7 @@ exclude = [
[dependencies]
libc = { git = "https://github.com/rust-lang/libc", features = [ "extra_traits" ] }
bitflags = "1.0"
-cfg-if = "0.1.0"
+cfg-if = "0.1.2"
void = "1.0.2"
[target.'cfg(target_os = "dragonfly")'.build-dependencies]