vulkano/.travis.yml

29 lines
798 B
YAML
Raw Normal View History

2016-02-05 13:33:36 +00:00
sudo: false
language: rust
rust:
- nightly
- stable
2016-02-18 10:30:11 +00:00
addons:
apt:
packages:
- libstdc++6
2016-02-05 13:33:36 +00:00
script:
- cargo test -v --manifest-path glsl-to-spirv/Cargo.toml
- cargo test -v --manifest-path vulkano-shaders/Cargo.toml
2016-02-18 10:20:29 +00:00
- cargo build -v --manifest-path vulkano/Cargo.toml # TODO: should be "cargo test" ; tests don't pass yet on travis
2016-02-18 09:57:24 +00:00
after_success:
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo doc &&
npm install gitbook-cli -g &&
gitbook build ./book &&
mv ./book/_book ./target/doc/book &&
git clone https://github.com/davisp/ghp-import &&
./ghp-import/ghp-import target/doc &&
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages