aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2015-01-11 21:33:04 -0800
committerAlex Crichton <alex@alexcrichton.com>2015-01-11 21:33:04 -0800
commitaef183823c6de926cf1b598cae537e30dc6ad103 (patch)
tree2c6ff0021d3d09d425f1a80ffa73a76a566e47e6
parentd4319caa2073a8f7e14f4479d7f4d374357f890a (diff)
downloadmilf-rs-aef183823c6de926cf1b598cae537e30dc6ad103.tar.gz
milf-rs-aef183823c6de926cf1b598cae537e30dc6ad103.zip
Tweak travis config
-rw-r--r--.travis.yml10
1 files changed, 4 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml
index a43c845..7c626c0 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,5 @@
language: rust
+sudo: false
script:
- cargo build --verbose
- cargo test --verbose
@@ -8,12 +9,9 @@ after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
echo '<meta http-equiv=refresh content=0;url=toml/index.html>' > target/doc/index.html &&
- sudo pip install ghp-import &&
- ghp-import -n target/doc &&
- git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages &&
- rm target/doc/index.html &&
- mv target/doc . &&
- (curl http://www.rust-ci.org/artifacts/put?t=$RUSTCI_TOKEN | sh)
+ pip install ghp-import --user $USER &&
+ $HOME/.local/bin/ghp-import -n target/doc &&
+ git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
env:
global:
- secure: FO8GVrtHAn5GTj4LOz2BApC3tAEsMbNzvH5UVmCIeNKPuVcKcI3oWNJC/KMCvuJZhu96J3okfRLBxBJrhxsp/YT4fS4kibhZDm6AzbCqxz6AmvHJo2d0jztoRyuLwLSkhwW8vM4VeHH+Tf4PeC56YmnpUGkccHMMidxytJzx8qI=