libfringe/.travis.yml

13 lines
371 B
YAML
Raw Normal View History

2015-04-16 20:27:54 +08:00
language: rust
install:
- sudo pip install ghp-import
script:
- cargo test
- cargo bench
- cargo doc --no-deps
2015-04-16 20:27:54 +08:00
after_success: |
echo '<meta http-equiv="refresh" content="0;url=fringe/">' > 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