Chris Morgan
›
Git
›
anymap
› blobdiff
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
commit
grep
author
committer
pickaxe
?
search:
re
0.11.1: Rust update for unstable.
[anymap]
/
.travis.yml
diff --git
a/.travis.yml
b/.travis.yml
index 42f2b6348cbc2909ee1d2b6f9adb406e749750af..9e229743ddd1255c4562271cb645a0e6567454dd 100644
(file)
--- a/
.travis.yml
+++ b/
.travis.yml
@@
-1,13
+1,15
@@
language: rust
language: rust
+rust:
+ - nightly
+ - beta
+ - stable
env:
global:
- secure: nR+DJRUQ9v03nNZMpMu1tGKLKBAqdQsTIAr8ffdl+DUEh3b2jvQ+vLLNFLPjsloqhoOXo7cWO7qVpiE4ZOq2lNDURQjdiZGFjh/Y5+xKy2BqFdV7qQ1JoBzsMyx28tQTYz0mtBsACiCYKKb+ddNX5hpwrsjp8cS7htZktA5kbiU=
script:
env:
global:
- secure: nR+DJRUQ9v03nNZMpMu1tGKLKBAqdQsTIAr8ffdl+DUEh3b2jvQ+vLLNFLPjsloqhoOXo7cWO7qVpiE4ZOq2lNDURQjdiZGFjh/Y5+xKy2BqFdV7qQ1JoBzsMyx28tQTYz0mtBsACiCYKKb+ddNX5hpwrsjp8cS7htZktA5kbiU=
script:
- - cargo build --verbose --features clone
- - cargo test --verbose --features clone
- - cargo build --verbose
- - cargo test --verbose
- - cargo doc --verbose
+ - if [[ "$(rustc --version)" =~ -(dev|nightly) ]]; then cargo test --features unstable; else ! cargo test --features unstable; 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
after_script:
- ln -s target/doc doc
- curl -v http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN > ./upload-docs