Publish alsa-sys too
This commit is contained in:
parent
b2a02bdd44
commit
b89dc08a2b
14
.travis.yml
14
.travis.yml
|
@ -8,13 +8,21 @@ env:
|
|||
install:
|
||||
- sudo apt-get install libasound2-dev
|
||||
|
||||
after_success: |
|
||||
after_success:
|
||||
- |
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
cargo doc &&
|
||||
cargo login ${CRATESIO_TOKEN} &&
|
||||
echo '<meta http-equiv=refresh content=0;url=cpal/index.html>' > target/doc/index.html &&
|
||||
sudo pip install ghp-import &&
|
||||
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 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