From 9eb99666bc992849c0d1ebeec70e3603c6dc671e Mon Sep 17 00:00:00 2001 From: edef Date: Thu, 16 Apr 2015 08:27:54 -0400 Subject: [PATCH] add .travis.yml --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..db240cd --- /dev/null +++ b/.travis.yml @@ -0,0 +1,12 @@ +language: rust +install: + - sudo pip install ghp-import +script: + - cargo test + - cargo bench + - cargo doc +after_success: | + echo '' > target/doc/index.html &&\ + ghp-import -n target/doc &&\ + git remote set-url origin https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git &&\ + git push -f origin gh-pages