language: rust
-env:
- global:
- - secure: nR+DJRUQ9v03nNZMpMu1tGKLKBAqdQsTIAr8ffdl+DUEh3b2jvQ+vLLNFLPjsloqhoOXo7cWO7qVpiE4ZOq2lNDURQjdiZGFjh/Y5+xKy2BqFdV7qQ1JoBzsMyx28tQTYz0mtBsACiCYKKb+ddNX5hpwrsjp8cS7htZktA5kbiU=
+rust:
+ - nightly
+ - beta
+ - stable
script:
- - [[ "$(rustc --version)" =~ -dev ]] && cargo test --features nightly || ! cargo test --features nightly
- - [[ "$(rustc --version)" =~ -dev ]] && cargo test --features 'clone nightly' || ! cargo test --features 'clone nightly'
- - cargo test --features clone
+ - if [[ "$(rustc --version)" =~ -(dev|nightly) ]]; then cargo bench; 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