aboutsummaryrefslogtreecommitdiffstats
path: root/.travis.yml
diff options
context:
space:
mode:
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml22
1 files changed, 11 insertions, 11 deletions
diff --git a/.travis.yml b/.travis.yml
index a9ad5b4..254ff7e 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -19,15 +19,15 @@ os:
after_success:
-|
- [ $TRAVIS_BRANCH = master ] &&
- [ $TRAVIS_PULL_REQUEST = false ] &&
- cargo doc --features "window headless" &&
- echo '<meta http-equiv=refresh content=0;url=glutin/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
+ [ $TRAVIS_BRANCH = master ] &&
+ [ $TRAVIS_PULL_REQUEST = false ] &&
+ cargo doc --features "window headless" &&
+ echo '<meta http-equiv=refresh content=0;url=glutin/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
- |
- [ $TRAVIS_BRANCH = master ] &&
- [ $TRAVIS_PULL_REQUEST = false ] &&
- patch Cargo.toml < preupload.patch &&
- cargo publish --token ${CRATESIO_TOKEN}
+ [ $TRAVIS_BRANCH = master ] &&
+ [ $TRAVIS_PULL_REQUEST = false ] &&
+ patch Cargo.toml < preupload.patch &&
+ cargo publish --token ${CRATESIO_TOKEN}