clap/.travis.yml

31 lines
845 B
YAML

sudo: false
language: rust
rust:
- nightly
- beta
- stable
before_script:
- |
pip install 'travis-cargo<0.2' --user &&
export PATH=$HOME/.local/bin:$PATH
script:
- |
cargo build --features yaml &&
cargo test --features yaml &&
make -C clap-tests test &&
travis-cargo --only stable doc -- --features yaml &&
travis-cargo --only nightly bench &&
cargo build --no-default-features
addons:
apt:
packages:
- libcurl4-openssl-dev
- libelf-dev
- libdw-dev
after_success:
- |
travis-cargo --only stable doc-upload &&
travis-cargo --only stable coveralls --no-sudo -- --features yaml
env:
global:
secure: JLBlgHY6OEmhJ8woewNJHmuBokTNUv7/WvLkJGV8xk0t6bXBwSU0jNloXwlH7FiQTc4TccX0PumPDD4MrMgxIAVFPmmmlQOCmdpYP4tqZJ8xo189E5zk8lKF5OyaVYCs5SMmFC3cxCsKjfwGIexNu3ck5Uhwe9jI0tqgkgM3URA=