winit-sonoma-fix/.travis.yml

39 lines
1.1 KiB
YAML
Raw Normal View History

2014-07-30 18:04:48 +02:00
language: rust
2014-08-03 09:25:30 +02:00
rust:
- nightly
2015-04-30 08:31:25 +02:00
- 1.0.0-beta.3
2015-04-02 12:52:21 +02:00
addons:
apt:
packages:
- libxxf86vm-dev
- libosmesa6-dev
env:
global:
2014-12-17 10:43:29 +01:00
- secure: "FfubMXYXu2e7chvdfKBkc+aKPkvoBOb5Idg0KCYuD++qPFIBYg6pUE8H8WvU+V7RsEBu5vshhn3dzjkKs+LXIdo5PQUMZutAgy83g5SGxRn8Ra79GjBVBs6+XOEhFun/+7fGj2Ly/AK6BTDpqyYAhAUS7jIaF6/+JWNwPwEYfdQ="
2015-02-15 14:05:08 +01:00
- secure: "kVjHgK+6ivT5tUleNH/m6+69tPf8gkPNSPLsnXrkMJaIeXSnnKKQegP1O0UCThYAUbbwrUGlrKJUngDxkD8jSANhzAULX9t1iXho41InzYBEErTanXBYF8WO1rK1keKjLwiYw4KuvbiBoSeKabzQRwv0kMttxY57+hKVROr5dSg="
2014-10-04 19:17:02 +02:00
script:
- cargo build --verbose
2015-05-04 07:32:02 +02:00
- cargo test --verbose
2014-08-03 09:25:30 +02:00
os:
- linux
- osx
2015-02-15 14:05:08 +01:00
after_success:
2015-02-15 15:09:52 +01:00
- |
2015-02-15 14:58:47 +01:00
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc --features "window headless" &&
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-15 14:05:08 +01:00
- |
2015-02-15 14:58:47 +01:00
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo publish --token ${CRATESIO_TOKEN}