Skip to content
This repository was archived by the owner on Dec 1, 2023. It is now read-only.

Commit 2ff7f6c

Browse files
committed
Tweak travis config
1 parent f9f4ba8 commit 2ff7f6c

File tree

1 file changed

+4
-5
lines changed

1 file changed

+4
-5
lines changed

.travis.yml

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
language: rust
2+
sudo: false
23
script:
34
- cargo build --verbose
45
- cargo test --verbose
@@ -7,11 +8,9 @@ after_success: |
78
[ $TRAVIS_BRANCH = master ] &&
89
[ $TRAVIS_PULL_REQUEST = false ] &&
910
echo '<meta http-equiv=refresh content=0;url=rustc-serialize/index.html>' > target/doc/index.html &&
10-
sudo pip install ghp-import &&
11-
ghp-import -n target/doc &&
12-
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
13-
14-
language: rust
11+
pip install ghp-import --user $USER &&
12+
$HOME/.local/bin/ghp-import -n target/doc &&
13+
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
1514
env:
1615
global:
1716
secure: f0CwX+CnvRbEqK3H6zhBQe4u0t14OQvyd6nUhq/oXkJ6LdtrSx+qQtLSmAU7L8p1IXyP8csxv37bTdEB7/U1c6bJcN2OXHrw9nD0NDvZEs1zSZvFQBm+YBwV7EaposPHCeqee3X9b00g7+bObywMYtEkk7yD2NiOY9SjMRcjTLQ=

0 commit comments

Comments
 (0)