num-traits/.travis.yml

19 lines
652 B
YAML
Raw Normal View History

2014-12-23 17:50:53 +00:00
language: rust
2014-09-16 17:35:35 +00:00
script:
- cargo build --verbose
- cargo test --verbose
2014-12-23 17:50:53 +00:00
- cargo doc
after_success: |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
echo '<meta http-equiv=refresh content=0;url=num/index.html>' > target/doc/index.html &&
sudo pip install ghp-import &&
ghp-import -n target/doc &&
git push -fq https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
2014-09-16 17:35:35 +00:00
env:
2014-12-23 17:50:53 +00:00
global:
secure: NNQ8QgQFZ05OhljZiuCg39AEPU7Yhko/shFlJG1lqYFoFrELibSmBPd7zJsTubufHRddn0ed6IH7qPLnzWJ/cS+dxwAopuqCFzGMOcd/JW8DJgD5PUBA8EVh8x0tNFJVxxdnGac1ufRneWMvMIxH2hO1DMc+8FZBBd7u1DNG1Lk=
2015-01-02 06:09:50 +00:00
notifications:
email:
on_success: never