diff options
author | Alex Crichton <alex@alexcrichton.com> | 2015-01-11 21:32:46 -0800 |
---|---|---|
committer | Alex Crichton <alex@alexcrichton.com> | 2015-01-11 21:32:46 -0800 |
commit | ea6e306c68450a88024bbc615361144297703ed0 (patch) | |
tree | 3ae93d51bde7d5acfcb5ba92df120ac6388f6367 /.travis.yml | |
parent | e5ca2fddfbebb89f3e14c704a70cf7ba029239cf (diff) | |
download | ssh2-rs-ea6e306c68450a88024bbc615361144297703ed0.zip |
Tweak travis config
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/.travis.yml b/.travis.yml index 228ad9b..8aab19c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,4 +1,5 @@ language: rust +sudo: false before_script: - ssh-keygen -t rsa -f ~/.ssh/id_rsa -N "" -q - eval `ssh-agent -s` @@ -14,12 +15,9 @@ after_success: | [ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ] && echo '<meta http-equiv=refresh content=0;url=ssh2/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: GXvFl6Bh7nFfuiB/3Gstuo0MlpZGNlw93gdwXhotSb1h3OG8LpiL+SQuDOTzVrPMZ/m+1OoIeydufvbHau0IbqspXddjDMEC3sQfogtudHC0EVrwuj+rctDXq55/HwhQTA73xdVWoe1gvVfm9D/AQ9zFel2ynsS6zlkltRCguEc= |