2014-09-16 09:15:24 -05:00
|
|
|
language: rust
|
2015-01-11 23:33:04 -06:00
|
|
|
sudo: false
|
2014-06-20 19:08:00 -05:00
|
|
|
script:
|
2014-09-22 23:43:30 -05:00
|
|
|
- cargo build --verbose
|
|
|
|
- cargo test --verbose
|
|
|
|
- rustdoc --test README.md -L target
|
2015-03-03 22:35:04 -06:00
|
|
|
- cargo doc --no-deps
|
2014-09-22 23:43:30 -05:00
|
|
|
after_success: |
|
|
|
|
[ $TRAVIS_BRANCH = master ] &&
|
|
|
|
[ $TRAVIS_PULL_REQUEST = false ] &&
|
|
|
|
echo '<meta http-equiv=refresh content=0;url=toml/index.html>' > target/doc/index.html &&
|
2015-01-11 23:33:04 -06:00
|
|
|
pip install ghp-import --user $USER &&
|
|
|
|
$HOME/.local/bin/ghp-import -n target/doc &&
|
|
|
|
git push -qf https://${TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
|
2014-07-10 14:24:54 -05:00
|
|
|
env:
|
2014-08-03 23:30:30 -05:00
|
|
|
global:
|
2014-10-05 12:30:37 -05:00
|
|
|
- secure: FO8GVrtHAn5GTj4LOz2BApC3tAEsMbNzvH5UVmCIeNKPuVcKcI3oWNJC/KMCvuJZhu96J3okfRLBxBJrhxsp/YT4fS4kibhZDm6AzbCqxz6AmvHJo2d0jztoRyuLwLSkhwW8vM4VeHH+Tf4PeC56YmnpUGkccHMMidxytJzx8qI=
|
2014-09-22 23:43:30 -05:00
|
|
|
- secure: WVCzGVsthRub6ezJU15xzo+ahlUoZEwvZDeMPmjIMf1G28ObE9Y4BeUNW0j9CxCjyQ+5S0mrp1l0TESN326XTDosigabDiGnKyr5wfncnreN3PCUi3gx7NI+bRTy9B3eV318BhuCDgLgRWLWufCyPtkgAdT6cl+u6p+bEh+vyxo=
|
2014-10-29 14:49:19 -05:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|