toml-rs/.travis.yml

16 lines
740 B
YAML
Raw Normal View History

2014-06-20 19:08:00 -05:00
install:
2014-08-03 23:30:30 -05:00
- curl http://www.rust-lang.org/rustup.sh | sudo sh -
2014-06-20 19:08:00 -05:00
script:
2014-08-03 23:30:30 -05:00
- cargo build --verbose
- cargo test --verbose
- rustdoc --test src/lib.rs -L target --crate-name toml
- cargo doc
after_success: ! '[ $TRAVIS_BRANCH = master ] && [ $TRAVIS_PULL_REQUEST = false ]
&& echo ''<meta http-equiv=refresh content=0;url=toml/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-07-10 14:24:54 -05:00
env:
2014-08-03 23:30:30 -05:00
global:
- LD_LIBRARY_PATH: /usr/local/lib
- secure: bK8RmAtQcJvxXZFe+WqfRwuQqq1h3PXCFtrd73m4PWysdMEhtWb+ZKugPw8ykT3YVVLqbLnzH2Z8iM0RkF57aJvk7H1P4Syw4h2pPvvgP91ayzHbUnWwxkkJJ+oQ8lDJtcDHQ4BQhKMpTqY4tbaG6KeSwSdqDRCJuzHbZJzR0Eg=