no_std support
[anymap] / .travis.yml
index 8d62afb5b58624c4a28e0d516a2d086176c6b7cc..b5c4583272b6a3db8e2526a6234b019e37fda609 100644 (file)
@@ -1,11 +1,12 @@
 language: rust
-env:
-  global:
-    - secure: o2bgX4ObmN5b/lG2pk7U4tSu2/h0tLUxhHe3X6ZHi7A6MFOMtZOV+7g5TJX94YyAcsT5AWFSnl1Wv4dZcIJXsFkcZguFu6WI/Psc09K3zsA6NtXrqdcKv7XRBxivTKvfZ14PYhLgOuU+o1HreCQvolr5nmiX2gORmvD2Xc3qbHI=
+rust:
+  - 1.36.0
+  - nightly
+  - stable
 script:
-  - cargo build --verbose
-  - cargo test --verbose
-  - cargo doc --verbose
-after_script:
-  - ln -s target/doc doc
-  - curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
+  - if [[ "$(rustc --version)" =~ -(dev|nightly) ]]; then cargo bench; fi
+  - if [[ "$(rustc --version)" =~ 1.36.0 ]]; then cp test-oldest-Cargo.lock Cargo.lock; fi
+  - cargo test
+  - cargo test --release
+  - cargo test --no-default-features --features hashbrown
+  - cargo test --release --no-default-features --features hashbrown