X-Git-Url: https://git.chrismorgan.info/anymap/blobdiff_plain/fdba2f45b9b9d6fa05be6a4d0849add42d94516e..0a1c85f8655a71b995d228ed0c9496f732268c5b:/.travis.yml diff --git a/.travis.yml b/.travis.yml index 64c99e0..b5c4583 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,19 +1,12 @@ language: rust -env: - global: - - secure: nR+DJRUQ9v03nNZMpMu1tGKLKBAqdQsTIAr8ffdl+DUEh3b2jvQ+vLLNFLPjsloqhoOXo7cWO7qVpiE4ZOq2lNDURQjdiZGFjh/Y5+xKy2BqFdV7qQ1JoBzsMyx28tQTYz0mtBsACiCYKKb+ddNX5hpwrsjp8cS7htZktA5kbiU= +rust: + - 1.36.0 + - nightly + - stable script: - - if [[ "$(rustc --version)" =~ -(dev|nightly) ]]; then cargo test --features nightly; else ! cargo test --features nightly; fi - - if [[ "$(rustc --version)" =~ -(dev|nightly) ]]; then cargo test --features 'clone nightly'; else ! cargo test --features 'clone nightly'; fi - - if [[ "$(rustc --version)" =~ -(dev|nightly) ]]; then cargo test --features 'concurrent nightly'; else ! cargo test --features 'concurrent nightly'; fi - - if [[ "$(rustc --version)" =~ -(dev|nightly) ]]; then cargo test --features 'clone concurrent nightly'; else ! cargo test --features 'clone concurrent nightly'; fi - - cargo test --features clone - - cargo test --features concurrent - - cargo test --features 'clone concurrent' + - 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