vulkano/.travis.yml

31 lines
853 B
YAML
Raw Normal View History

2016-02-05 13:33:36 +00:00
language: rust
rust:
- nightly
- stable
2016-02-19 15:56:40 +00:00
install:
- export CXX="g++-4.8"
2016-02-18 10:30:11 +00:00
addons:
apt:
2016-02-19 15:53:57 +00:00
sources:
- ubuntu-toolchain-r-test
2016-02-18 10:30:11 +00:00
packages:
2016-02-19 15:53:57 +00:00
- gcc-4.8
2016-02-19 15:50:36 +00:00
- g++-4.8 # required to compile glslang
2016-02-19 15:53:57 +00:00
- clang
2016-02-18 10:30:11 +00:00
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 ] &&
2016-02-19 16:02:09 +00:00
cargo doc --manifest-path vulkano/Cargo.toml &&
2016-02-18 09:57:24 +00:00
git clone https://github.com/davisp/ghp-import &&
2016-02-19 16:31:11 +00:00
./ghp-import/ghp_import.py vulkano/target/doc &&
2016-02-18 09:57:24 +00:00
git push -fq https://${GH_TOKEN}@github.com/${TRAVIS_REPO_SLUG}.git gh-pages