no_std support
[anymap] / .travis.yml
index a2f12a93410adedc8336794d7af56bd28b383753..b5c4583272b6a3db8e2526a6234b019e37fda609 100644 (file)
@@ -1,17 +1,12 @@
 language: rust
 rust:
+  - 1.36.0
   - nightly
-  - beta
   - stable
-env:
-  global:
-    - secure: nR+DJRUQ9v03nNZMpMu1tGKLKBAqdQsTIAr8ffdl+DUEh3b2jvQ+vLLNFLPjsloqhoOXo7cWO7qVpiE4ZOq2lNDURQjdiZGFjh/Y5+xKy2BqFdV7qQ1JoBzsMyx28tQTYz0mtBsACiCYKKb+ddNX5hpwrsjp8cS7htZktA5kbiU=
 script:
-  - if [[ "$(rustc --version)" =~ -(dev|nightly) ]]; then cargo test --features bench; else ! cargo test --features bench; fi
+  - 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 doc
-after_script:
-  - ln -s target/doc doc
-  - curl -v http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN > ./upload-docs
-  - cat ./upload-docs
-  - sh ./upload-docs
+  - cargo test --release
+  - cargo test --no-default-features --features hashbrown
+  - cargo test --release --no-default-features --features hashbrown