Skip to content
This repository was archived by the owner on Aug 20, 2021. It is now read-only.

Commit 3f52f1a

Browse files
committed
Update travis token
1 parent fb5c23c commit 3f52f1a

File tree

1 file changed

+8
-9
lines changed

1 file changed

+8
-9
lines changed

.travis.yml

Lines changed: 8 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,21 +4,20 @@ rust:
44
- beta
55
- nightly
66
sudo: false
7+
before_script:
8+
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
79
script:
810
- cargo build --verbose
911
- cargo test --verbose
1012
- cargo doc --no-deps
11-
after_success: |
12-
[ $TRAVIS_BRANCH = master ] &&
13-
[ $TRAVIS_PULL_REQUEST = false ] &&
14-
[ $TRAVIS_RUST_VERSION = nightly ] &&
15-
echo '<meta http-equiv=refresh content=0;url=tempdir/index.html>' > target/doc/index.html &&
16-
pip install ghp-import --user $USER &&
17-
$HOME/.local/bin/ghp-import -n target/doc &&
18-
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
13+
after_success:
14+
- travis-cargo --only nightly doc-upload
1915
env:
2016
global:
21-
secure: GzgRe6TWVJLBly53nUwyvYnap6vlq3stS5iYnE51n305CxOinA9sKbNev4g/nYegfAvKM12Tmy4hySBVyWaHL43rTMivoBTqHMyVohf5xR9avi/em198GlL0AM005j6w67fiWgmbb0iDC2NcKN358ga8AnIWB6KNd4C4Jm5X+ew=
17+
secure: "iENCKNKfyveEXk+OofJDnxGfeVnxHovvLsrtl7eUBev6YGIIlUISZliyCvBrSkZKTeLfdDEP+Q5Mv9tVOMAx/FNiKB9V07WFDahD6xvz+qd3k790gdzgy+0LcNKskBVzDK62zCofvknGVbQa9f5iimhu+wKs9bb+WCxicVWmeRo="
18+
19+
20+
2221
notifications:
2322
email:
2423
on_success: never

0 commit comments

Comments
 (0)