Skip to content

Commit 34ab9e3

Browse files
committed
Use hopefully faster container-based builders on Travis-CI.
1 parent 50aa60d commit 34ab9e3

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

.travis.yml

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
sudo: false
12
language: rust
23

34
script:
@@ -9,8 +10,8 @@ after_success: |
910
[ $TRAVIS_BRANCH = master ] &&
1011
[ $TRAVIS_PULL_REQUEST = false ] &&
1112
echo '<meta http-equiv=refresh content=0;url=cssparser/index.html>' > target/doc/index.html &&
12-
sudo pip install ghp-import &&
13-
ghp-import -n target/doc &&
13+
pip install --user ghp-import &&
14+
~/.local/bin/ghp-import -n target/doc &&
1415
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
1516
1617
env:

0 commit comments

Comments
 (0)