diff --git a/.travis.yml b/.travis.yml index a9ad5b47..254ff7e5 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 '' > 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 '' > 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}