commit
85533deb55
14
.travis.yml
14
.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_BRANCH = master ] &&
|
||||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
cargo doc &&
|
cargo doc &&
|
||||||
cargo login ${CRATESIO_TOKEN} &&
|
|
||||||
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 login ${CRATESIO_TOKEN}
|
||||||
|
- |
|
||||||
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
cargo publish
|
cargo publish
|
||||||
|
- |
|
||||||
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
|
cd alsa-sys && cargo publish && cd ..
|
||||||
|
|
Loading…
Reference in New Issue