From aef183823c6de926cf1b598cae537e30dc6ad103 Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Sun, 11 Jan 2015 21:33:04 -0800 Subject: Tweak travis config --- .travis.yml | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) (limited to '.travis.yml') 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 '' > 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= -- cgit v1.2.3