mirror of
https://github.com/RustAudio/rodio
synced 2025-01-05 16:28:44 +00:00
31 lines
712 B
YAML
31 lines
712 B
YAML
|
sudo: false
|
||
|
|
||
|
language: rust
|
||
|
rust:
|
||
|
- stable
|
||
|
- nightly
|
||
|
|
||
|
matrix:
|
||
|
allow_failures:
|
||
|
- rust: nightly
|
||
|
|
||
|
addons:
|
||
|
apt:
|
||
|
packages:
|
||
|
- libasound2-dev
|
||
|
|
||
|
after_success:
|
||
|
- |
|
||
|
[ $TRAVIS_BRANCH = master ] &&
|
||
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||
|
[ $TRAVIS_RUST_VERSION = nightly ] &&
|
||
|
cargo doc &&
|
||
|
cp -R doc/* target/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}
|