2016-01-03 23:41:56 +03:00
|
|
|
sudo: false
|
2015-12-07 22:39:09 +03:00
|
|
|
language: rust
|
|
|
|
rust:
|
2016-01-04 15:27:37 +03:00
|
|
|
- stable
|
|
|
|
- beta
|
|
|
|
- nightly
|
2017-04-05 01:34:12 +03:00
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
2016-01-03 23:41:56 +03:00
|
|
|
before_script:
|
2016-01-04 15:27:37 +03:00
|
|
|
- pip install 'travis-cargo>=0.1.0,<0.2.0' --user
|
|
|
|
- pip install 'CppHeaderParser>=2.7.2,<3.0.0' --user
|
2017-04-05 01:38:13 +03:00
|
|
|
- travis-cargo --only nightly install clippy
|
2016-01-03 23:41:56 +03:00
|
|
|
script:
|
2016-01-04 15:27:37 +03:00
|
|
|
- travis-cargo build
|
2017-11-08 22:08:21 +03:00
|
|
|
- ./on-nightly cargo clippy --all
|
2016-01-04 15:27:37 +03:00
|
|
|
- travis-cargo test
|
|
|
|
- travis-cargo --only stable doc
|
2016-01-03 23:41:56 +03:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- RUST_BACKTRACE=1
|
2016-01-03 23:48:05 +03:00
|
|
|
- TRAVIS_CARGO_NIGHTLY_FEATURE=""
|