From 2286cc8cf6c17cef456a89cc160a7400174761ce Mon Sep 17 00:00:00 2001 From: Alex Crichton Date: Thu, 18 Sep 2014 13:18:36 -0700 Subject: Upload docs to gh-pages --- .travis.yml | 16 ++++++++++++++++ README.md | 13 +++++++++++++ 2 files changed, 29 insertions(+) create mode 100644 README.md diff --git a/.travis.yml b/.travis.yml index d1fb1f2..2223a86 100644 --- a/.travis.yml +++ b/.travis.yml @@ -3,3 +3,19 @@ before_script: - ssh-keygen -t rsa -f ~/.ssh/id_rsa -N "" -q - eval `ssh-agent -s` - ssh-add ~/.ssh/id_rsa + - cat ~/.ssh/id_rsa.pub >> ~/.ssh/authorized_keys + - telnet localhost 22 & +script: + - cargo build + - cargo test + - cargo doc +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 -f https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages +env: + global: + secure: Wrpw+jdyNWeNJ0SpVr3py3FOjzChb46oh12UV0oUVfSGDI4eHwWf0gcHkRg3vh4FxACPaWyT/bygaOTyVpYC4almV+IGUvywReH9rVYZ0B/72k6VIY+746xmJYcktQ2ZmyahVhOFmKnBoY5tCVWi/qbwT0gKMhch/R8Cin5whdc= diff --git a/README.md b/README.md new file mode 100644 index 0000000..414ff71 --- /dev/null +++ b/README.md @@ -0,0 +1,13 @@ +# ssh2-rs + +[![Build Status](https://travis-ci.org/alexcrichton/ssh2-rs.svg?branch=master)](https://travis-ci.org/alexcrichton/ssh2-rs) + +[Documentation](http://alexcrichton.com/ssh2-rs/ssh2/index.html) + +Rust bindings to libssh2 + +```toml +# Cargo.toml +[dependencies.ssh2] +git = "https://github.com/alexcrichton/ssh2-rs" +``` -- cgit v1.2.3