-
Notifications
You must be signed in to change notification settings - Fork 45
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
ba2b848
commit 1572a48
Showing
1 changed file
with
18 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,26 @@ | ||
language: rust | ||
|
||
before_install: | ||
- sudo apt-get update -qq | ||
|
||
install: | ||
- sudo apt-get install -y upx electric-fence libsdl1.2-dev | ||
|
||
script: | ||
- cargo build --verbose | ||
- cargo test --verbose | ||
|
||
after_success: | | ||
[ $TRAVIS_BRANCH = master ] && | ||
[ $TRAVIS_PULL_REQUEST = false ] && | ||
cargo doc && | ||
echo '<meta http-equiv=refresh content="0;url=tcod/index.html">' > target/doc/index.html && | ||
git config --global user.email "[email protected]" && | ||
git config --global user.name "travis-ci" && | ||
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: | ||
secure: yTCiLqKu5ceqvIJhTepiv/VTUTTYTHYNeTicO6Rsfs/RLlUtbfFOXdyT5vA59g9wJAGsULPspPucedIf+g1TkG5Dz2jpuE5nvgNlUC07tcFIBYwkExJHu+KzwJUc2lhf0OI/5NsNg/AlehzYNAqF0g2cc2/ZngIi4pAscS6SzKw= |