mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-02 06:40:06 -04:00
Fix .travis.yml indentation
This commit is contained in:
22
.travis.yml
22
.travis.yml
@@ -19,15 +19,15 @@ os:
|
|||||||
|
|
||||||
after_success:
|
after_success:
|
||||||
-|
|
-|
|
||||||
[ $TRAVIS_BRANCH = master ] &&
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
cargo doc --features "window headless" &&
|
cargo doc --features "window headless" &&
|
||||||
echo '<meta http-equiv=refresh content=0;url=glutin/index.html>' > target/doc/index.html &&
|
echo '<meta http-equiv=refresh content=0;url=glutin/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
|
||||||
- |
|
- |
|
||||||
[ $TRAVIS_BRANCH = master ] &&
|
[ $TRAVIS_BRANCH = master ] &&
|
||||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||||
patch Cargo.toml < preupload.patch &&
|
patch Cargo.toml < preupload.patch &&
|
||||||
cargo publish --token ${CRATESIO_TOKEN}
|
cargo publish --token ${CRATESIO_TOKEN}
|
||||||
|
|||||||
Reference in New Issue
Block a user