Publish alsa-sys too
This commit is contained in:
parent
b2a02bdd44
commit
b89dc08a2b
28
.travis.yml
28
.travis.yml
|
@ -8,13 +8,21 @@ env:
|
||||||
install:
|
install:
|
||||||
- sudo apt-get install libasound2-dev
|
- sudo apt-get install libasound2-dev
|
||||||
|
|
||||||
after_success: |
|
after_success:
|
||||||
[ $TRAVIS_BRANCH = master ] &&
|
- |
|
||||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
cargo doc &&
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
cargo login ${CRATESIO_TOKEN} &&
|
cargo doc &&
|
||||||
echo '<meta http-equiv=refresh content=0;url=cpal/index.html>' > target/doc/index.html &&
|
echo '<meta http-equiv=refresh content=0;url=cpal/index.html>' > target/doc/index.html &&
|
||||||
sudo pip install ghp-import &&
|
sudo pip install ghp-import &&
|
||||||
ghp-import -n target/doc &&
|
ghp-import -n target/doc &&
|
||||||
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages &&
|
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
||||||
cargo publish
|
- cargo login ${CRATESIO_TOKEN}
|
||||||
|
- |
|
||||||
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
|
cargo publish
|
||||||
|
- |
|
||||||
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
|
cd alsa-sys && cargo publish && cd ..
|
||||||
|
|
Loading…
Reference in New Issue