mirror of
https://github.com/RustAudio/rodio
synced 2024-11-10 14:14:21 +00:00
31 lines
704 B
YAML
31 lines
704 B
YAML
sudo: false
|
|
|
|
language: rust
|
|
rust:
|
|
- stable
|
|
- beta
|
|
- nightly
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- rust: stable
|
|
- 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
|
|
- |
|
|
[ $TRAVIS_BRANCH = master ] &&
|
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
|
cargo publish --no-verify --token ${CRATESIO_TOKEN}
|