| 1 |
language: rust |
| 2 |
|
| 3 |
rust: |
| 4 |
- stable |
| 5 |
- beta |
| 6 |
- nightly |
| 7 |
|
| 8 |
sudo: false |
| 9 |
|
| 10 |
notifications: |
| 11 |
email: |
| 12 |
on_success: never |
| 13 |
on_failure: always |
| 14 |
|
| 15 |
before_script: |
| 16 |
- | |
| 17 |
pip install 'travis-cargo<0.2' --user && |
| 18 |
export PATH=$HOME/.local/bin:$PATH |
| 19 |
|
| 20 |
script: |
| 21 |
- travis-cargo build |
| 22 |
- travis-cargo test |
| 23 |
- travis-cargo doc -- --no-deps |
| 24 |
# TODO: Reenable later |
| 25 |
#- rustdoc --test README.md -L target/debug |
| 26 |
|
| 27 |
after_success: |
| 28 |
- curl https://mvdnes.github.io/rust-docs/travis-doc-upload.sh | bash |
| 29 |
|
| 30 |
env: |
| 31 |
global: |
| 32 |
# override the default `--features unstable` used by travis-cargo |
| 33 |
# since unstable is activated by default |
| 34 |
- TRAVIS_CARGO_NIGHTLY_FEATURE="" |