Skip to content

Commit bdbf55f

Browse files
committed
Update travis token
1 parent d042261 commit bdbf55f

File tree

1 file changed

+12
-14
lines changed

1 file changed

+12
-14
lines changed

.travis.yml

Lines changed: 12 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,23 @@
11
language: rust
22
rust:
3-
#- 1.0.0
4-
#- beta
3+
- stable
4+
- 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
9-
- |
10-
[ $TRAVIS_RUST_VERSION != nightly ] || cargo test --verbose
11-
- cargo doc
12-
after_success: |
13-
[ $TRAVIS_BRANCH = master ] &&
14-
[ $TRAVIS_PULL_REQUEST = false ] &&
15-
[ $TRAVIS_RUST_VERSION = nightly ] &&
16-
echo '<meta http-equiv=refresh content=0;url=conduit-static/index.html>' > target/doc/index.html &&
17-
pip install ghp-import --user $USER &&
18-
$HOME/.local/bin/ghp-import -n target/doc &&
19-
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
11+
- cargo test --verbose
12+
- cargo doc --no-deps
13+
after_success:
14+
- travis-cargo --only nightly doc-upload
2015
env:
2116
global:
22-
secure: MRnJx1muQA+Unk5f/jSk/lbakwAf15pVKtrqh+HfEQvbEpQD/Y0JnjMXv8bT3Xpb+kGOIdFGfvEYpyX9t+diEhGbZ5S/C+aYuRGR8i8QGDgQq/AbhrKXIUF1h+Aub/6oFJ53ApJjgMY5t/rFc2FrRD0z26irf9VEG/8HDcI5kWc=
17+
secure: "a6+fp1RxH0twNuR7PvXXxcPW8SW6hErFpAxK6swNvAbsmnW9gL0NLbGighbfc+pZgt4ySatM6a7qbIPAcmXAeql2rQYCb2P9/M3BNDEJgNg2i+WIxjHxpP8x2jANcLHieHVspTomwABBqCU8tCvjXqHj6WSHA9bN2aASVl39BQo="
18+
19+
20+
2321
notifications:
2422
email:
2523
on_success: never

0 commit comments

Comments
 (0)