winit-sonoma-fix/.travis.yml

33 lines
683 B
YAML
Raw Normal View History

2014-07-31 02:04:48 +10:00
language: rust
2014-08-03 17:25:30 +10:00
rust:
- nightly
2015-05-22 03:43:24 +10:00
- stable
2015-04-02 21:52:21 +11:00
addons:
apt:
packages:
- libxxf86vm-dev
2014-10-05 04:17:02 +11:00
script:
- cargo build --verbose
2015-05-04 15:32:02 +10:00
- cargo test --verbose
2014-08-03 17:25:30 +10:00
os:
- linux
- osx
2015-02-16 00:05:08 +11:00
after_success:
2015-02-16 01:09:52 +11:00
- |
2015-02-16 00:58:47 +11:00
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
2015-05-22 03:45:58 +10:00
cargo doc &&
2015-02-16 00:58:47 +11:00
echo '<meta http-equiv=refresh content=0;url=glutin/index.html>' > target/doc/index.html &&
sudo pip install ghp-import &&
ghp-import -n target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages
2015-02-16 00:05:08 +11:00
- |
2015-02-16 00:58:47 +11:00
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo publish --token ${CRATESIO_TOKEN}