Skip to content

Commit

Permalink
Add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
AnatolyI committed Mar 22, 2015
1 parent ae653a9 commit 4ec0fba
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
language: rust
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc &&
echo "<meta http-equiv=refresh content=0;url=marc/index.html>" > target/doc/index.html &&
sudo pip install ghp-import &&
ghp-import -n target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
env:
global:
- secure: f70moeUAnAYtezxGmV47Mqud2Aefowa0/C1U34Iesl3EbO2d/SOnQCTUad2ittW99YSvIGUMDDMA5Ix/x4FDhDGbzW4/2FCHJ7e+zaXoz9dZCKQcs0CRZOJE6fexYHKqLQX2noqlDuNy+Snlp4Qhy17kpkNPcHFBU32YXbnXqDk=

0 comments on commit 4ec0fba

Please sign in to comment.