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