Skip to content

Commit fd09bec

Browse files
committed
Update travis token
1 parent a292938 commit fd09bec

File tree

1 file changed

+9
-10
lines changed

1 file changed

+9
-10
lines changed

.travis.yml

+9-10
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
10-
- cargo doc
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=conduit-router/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
12+
- cargo doc --no-deps
13+
after_success:
14+
- travis-cargo --only nightly doc-upload
1915
env:
2016
global:
21-
secure: PKIdUeYojs1Ebxi4CsRUIg4jDCat14Zp2ed/EHNgGP4sJB+1YlMarKfGTGFmHTyHL717+qF0I3LxyWOHheTNkcDcQhrvgh4giF+ktDVyAMgKcP3Rcoz7ceVO3x6Hw8yiAMkCut3cIRq+GKq+2FcsDXszR4EVZ8aePOBTvcN+hPA=
17+
secure: "QnnZ02ofUn2OcMBA4VVW0NBJxH9koBWhtsnECKpw83LN3tHdMEZkCVJDnpWQQYQMnYzM9sW9PtnpLWeIVqzUAeI3oE99GqO+SkyhIdOIy2QdJLiWpUrYV1HrdikGFNA3k83z7wmUOu7tgMdxHrS0GLTaN3rN7m4DfTm5bLALFx8="
18+
19+
20+
2221
notifications:
2322
email:
2423
on_success: never

0 commit comments

Comments
 (0)