blob: 40b135c28e57f03623ef4d0d1609c94944e834fb (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
install:
- curl http://www.rust-lang.org/rustup.sh | sudo sh -
script:
- cargo build --verbose
- cargo test --verbose
- 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 '
env:
global:
- LD_LIBRARY_PATH: /usr/local/lib
- secure: bK8RmAtQcJvxXZFe+WqfRwuQqq1h3PXCFtrd73m4PWysdMEhtWb+ZKugPw8ykT3YVVLqbLnzH2Z8iM0RkF57aJvk7H1P4Syw4h2pPvvgP91ayzHbUnWwxkkJJ+oQ8lDJtcDHQ4BQhKMpTqY4tbaG6KeSwSdqDRCJuzHbZJzR0Eg=
|