Skip to content

Commit 60df130

Browse files
committed
please, travis
1 parent b1c947d commit 60df130

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

.travis.yml

+8-8
Original file line numberDiff line numberDiff line change
@@ -9,11 +9,11 @@ script:
99
doc
1010
after_script:
1111
- curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh
12-
after_success: |
13-
[ $TRAVIS_BRANCH = master ] &&
14-
[ $TRAVIS_PULL_REQUEST = false ] &&
15-
cargo doc &&
16-
echo '<meta http-equiv=refresh content=0;url=primes/index.html>' > doc/index.html &&
17-
sudo pip install ghp-import &&
18-
ghp-import -n doc &&
19-
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
12+
after_success:
13+
- [ $TRAVIS_BRANCH = master ] || exit
14+
- [ $TRAVIS_PULL_REQUEST = false ] || exit
15+
- cargo doc
16+
- echo '<meta http-equiv=refresh content=0;url=primes/index.html>' > doc/index.html
17+
- sudo pip install ghp-import
18+
- ghp-import -n doc
19+
- git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages

0 commit comments

Comments
 (0)