summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlex Crichton <alex@alexcrichton.com>2019-01-02 14:10:10 -0800
committerAlex Crichton <alex@alexcrichton.com>2019-01-02 14:10:10 -0800
commitdd00ccac21de31bc72bf397d6640133499d92a19 (patch)
tree512b4d20c51e63735279e6bbaf70a7f3a79b0989
parentd14b02e020cbed9d8721a137995e9abb73cbf3f1 (diff)
downloadssh2-rs-dd00ccac21de31bc72bf397d6640133499d92a19.zip
Update travis config
-rw-r--r--.travis.yml27
-rw-r--r--README.md2
2 files changed, 9 insertions, 20 deletions
diff --git a/.travis.yml b/.travis.yml
index 9c1f891..3730e53 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -12,14 +12,17 @@ matrix:
- rust: beta
- rust: nightly
- - rust: nightly
- before_script:
- - pip install 'travis-cargo<0.2' --user && export PATH=$HOME/.local/bin:$PATH
+ - name: "master doc to gh-pages"
+ rust: nightly
script:
- cargo doc --no-deps
- cargo doc --no-deps --manifest-path libssh2-sys/Cargo.toml
- after_success:
- - travis-cargo --only nightly doc-upload
+ deploy:
+ provider: script
+ script: curl -LsSf https://git.io/fhJ8n | rustc - && (cd target/doc && ../../rust_out)
+ skip_cleanup: true
+ on:
+ branch: master
before_script:
- ssh-keygen -t rsa -f ~/.ssh/id_rsa -N "" -q
@@ -37,20 +40,6 @@ script:
- rustdoc --test README.md -L target
- cargo run --manifest-path systest/Cargo.toml
-env:
- global:
- secure: "Pv35wAFBLDqTGXot1aq7JtDAzwWXxTQahl3MeH9T1fdq2SqNdvXQazRJqDZcpeTO5EH+g2hLShiz9bije2746hzoIyb4GFt1II35a2hff2hBaxsaBb2BCPc7wEjW6u8QQ+PZXpauO2OQrlPwJUBpIActGp6NOI/Et4a3eFBOpx4="
-
notifications:
email:
on_success: never
-
-addons:
- apt:
- sources:
- - kalakris-cmake
- packages:
- - cmake
- - libcurl4-openssl-dev
- - libelf-dev
- - libdw-dev
diff --git a/README.md b/README.md
index 826533c..738d5c6 100644
--- a/README.md
+++ b/README.md
@@ -1,6 +1,6 @@
# ssh2-rs
-[![Build Status](https://travis-ci.org/alexcrichton/ssh2-rs.svg?branch=master)](https://travis-ci.org/alexcrichton/ssh2-rs)
+[![Build Status](https://travis-ci.com/alexcrichton/ssh2-rs.svg?branch=master)](https://travis-ci.com/alexcrichton/ssh2-rs)
[![Build Status](https://ci.appveyor.com/api/projects/status/dwc9c26tfdpg52on?svg=true)](https://ci.appveyor.com/project/alexcrichton/ssh2-rs)
[Documentation](https://docs.rs/ssh2)