rodio/.travis.yml

32 lines
704 B
YAML
Raw Normal View History

2015-07-22 11:43:27 +00:00
sudo: false
language: rust
rust:
- stable
2015-09-23 08:38:29 +00:00
- beta
2015-07-22 11:43:27 +00:00
- nightly
matrix:
allow_failures:
2015-09-23 08:38:29 +00:00
- rust: stable
2015-07-22 11:43:27 +00:00
- rust: nightly
addons:
apt:
packages:
- libasound2-dev
after_success:
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_RUST_VERSION = nightly ] &&
cargo doc &&
git clone https://github.com/davisp/ghp-import &&
./ghp-import/ghp-import target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
2015-09-11 12:04:28 +00:00
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo publish --no-verify --token ${CRATESIO_TOKEN}