2015-10-27 16:53:45 +03:00
|
|
|
sudo: false
|
2015-03-01 15:46:46 -05:00
|
|
|
language: rust
|
2015-04-28 22:43:20 -04:00
|
|
|
rust:
|
2015-05-05 17:45:38 +02:00
|
|
|
- nightly
|
2015-07-29 15:18:05 -04:00
|
|
|
- beta
|
2015-05-17 09:46:48 -04:00
|
|
|
- stable
|
2016-03-09 17:41:02 -05:00
|
|
|
# Only while clippy is failing
|
|
|
|
matrix:
|
|
|
|
allow_failures:
|
|
|
|
- rust: nightly
|
2015-04-28 22:43:20 -04:00
|
|
|
before_script:
|
2015-07-29 15:18:05 -04:00
|
|
|
- |
|
|
|
|
pip install 'travis-cargo<0.2' --user &&
|
|
|
|
export PATH=$HOME/.local/bin:$PATH
|
2015-04-27 21:39:17 -04:00
|
|
|
script:
|
2015-07-29 15:18:05 -04:00
|
|
|
- |
|
2016-01-29 21:28:12 -05:00
|
|
|
cargo build --verbose --no-default-features &&
|
|
|
|
cargo build --verbose --features yaml &&
|
|
|
|
cargo test --verbose --features yaml &&
|
2015-07-29 15:18:05 -04:00
|
|
|
make -C clap-tests test &&
|
2016-01-29 21:28:12 -05:00
|
|
|
travis-cargo --only nightly build -- --features travis &&
|
2015-11-14 05:05:04 -05:00
|
|
|
travis-cargo --only nightly bench &&
|
2016-01-29 21:28:12 -05:00
|
|
|
travis-cargo --only stable doc -- --features yaml
|
2015-10-27 17:06:15 +03:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- libcurl4-openssl-dev
|
|
|
|
- libelf-dev
|
|
|
|
- libdw-dev
|
2015-04-28 22:43:20 -04:00
|
|
|
after_success:
|
2015-09-02 21:51:37 +03:00
|
|
|
- |
|
|
|
|
travis-cargo --only stable doc-upload &&
|
2015-10-27 16:53:45 +03:00
|
|
|
travis-cargo --only stable coveralls --no-sudo -- --features yaml
|
2015-04-28 22:43:20 -04:00
|
|
|
env:
|
|
|
|
global:
|
2016-01-29 21:28:12 -05:00
|
|
|
- TRAVIS_CARGO_NIGHTLY_FEATURE=travis
|
|
|
|
- secure: JLBlgHY6OEmhJ8woewNJHmuBokTNUv7/WvLkJGV8xk0t6bXBwSU0jNloXwlH7FiQTc4TccX0PumPDD4MrMgxIAVFPmmmlQOCmdpYP4tqZJ8xo189E5zk8lKF5OyaVYCs5SMmFC3cxCsKjfwGIexNu3ck5Uhwe9jI0tqgkgM3URA=
|