Skip to content
This repository was archived by the owner on Sep 24, 2018. It is now read-only.

Commit defb486

Browse files
committed
Update travis token
1 parent 2f4c96d commit defb486

File tree

1 file changed

+11
-10
lines changed

1 file changed

+11
-10
lines changed

.travis.yml

+11-10
Original file line numberDiff line numberDiff line change
@@ -1,22 +1,23 @@
11
language: rust
22
rust:
3+
- stable
34
- beta
45
- nightly
6+
sudo: false
7+
before_script:
8+
- pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
59
script:
610
- cargo build --verbose
711
- cargo test --verbose
8-
- cargo doc
9-
after_success: |
10-
[ $TRAVIS_BRANCH = master ] &&
11-
[ $TRAVIS_PULL_REQUEST = false ] &&
12-
echo '<meta http-equiv=refresh content=0;url=rlibc/index.html>' > target/doc/index.html &&
13-
sudo pip install ghp-import &&
14-
ghp-import -n target/doc &&
15-
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
16-
12+
- cargo doc --no-deps
13+
after_success:
14+
- travis-cargo --only nightly doc-upload
1715
env:
1816
global:
19-
secure: fmrdn+5d+hOyU5q4hrrQFtgXhRyYHapkV/ArxazRFfH7MqKMkZi7GaenISofE/Z26zKCji0xXIV0iB/lheqh78husWUqKW8EfQvW6fB5+Axy7aUgy+GnzXOBUIe7oIPNC+Gbxa2jnMdNruN0zDEZK7w0t+xJ53mkO9QONOLqMLI=
17+
secure: "FfXxp7j8hf8h8XisZ7q/wvhIddbiUCqwlyx3noJ2dJV6l5CcbaW+/l1W7m4XTJTCFjj2YpB3lcJUJqAFHtNNLcJCl3cYo80tPyihgb7SezGgzTgoMdhw4VBZi3NSNwvVzaHwRYBVaxhx5bucbMC6sdSDAfh7iQ7xAanMDPdMjlU="
18+
19+
20+
2021
notifications:
2122
email:
2223
on_success: never

0 commit comments

Comments
 (0)