mirror of https://github.com/lukechilds/cc-rs.git
3 changed files with 29 additions and 2 deletions
@ -0,0 +1,20 @@ |
|||
language: rust |
|||
sudo: false |
|||
script: |
|||
- cargo build --verbose |
|||
- cargo test --verbose |
|||
- cargo doc |
|||
- rustdoc --test README.md -L target |
|||
after_success: | |
|||
[ $TRAVIS_BRANCH = master ] && |
|||
[ $TRAVIS_PULL_REQUEST = false ] && |
|||
echo '<meta http-equiv=refresh content=0;url=gcc/index.html>' > target/doc/index.html && |
|||
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 |
|||
env: |
|||
global: |
|||
secure: bnPRXhVawJwerfEWYNzEfzK8Y4GOme0RqyLqQ6E5GU6B1EdCGaPgz8d4q8S2nXCq8IrzbEGo7nJaWptO3iNTnG/NIQ4qcLsQaDCz8ICAZTbS1dTbNByX2S9GyXUxCkaIfRNCSTuRSD276tdgj69VOW3bp0rgUpkpYhoGupmc3VY= |
|||
notifications: |
|||
email: |
|||
on_success: never |
Loading…
Reference in new issue