23 lines
446 B
YAML
23 lines
446 B
YAML
language: rust
|
|
rust:
|
|
- 1.0.0
|
|
- beta
|
|
- nightly
|
|
sudo: false
|
|
script:
|
|
- cargo build --verbose
|
|
- cargo test --verbose
|
|
- .travis/test_features.sh
|
|
- |
|
|
[ $TRAVIS_RUST_VERSION = nightly ] &&
|
|
.travis/test_nightly.sh
|
|
- cargo doc
|
|
after_success: |
|
|
[ $TRAVIS_BRANCH = master ] &&
|
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
|
[ $TRAVIS_RUST_VERSION = nightly ] &&
|
|
ssh-agent .travis/deploy.sh
|
|
notifications:
|
|
email:
|
|
on_success: never
|