vulkano/.travis.yml

52 lines
1.4 KiB
YAML
Raw Normal View History

2016-02-05 13:33:36 +00:00
language: rust
rust:
- nightly
- stable
cache:
cargo
2017-06-21 10:43:39 +00:00
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-04-12 11:46:09 +00:00
- george-edison55-precise-backports # recent version of cmake
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-04-12 11:46:09 +00:00
- cmake
2016-04-12 11:49:22 +00:00
- cmake-data
2016-02-18 10:30:11 +00:00
2016-02-05 13:33:36 +00:00
script:
2017-07-08 07:29:28 +00:00
- cargo test --all -j 1
2016-02-18 09:57:24 +00:00
after_success:
2016-04-30 10:08:48 +00:00
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
2016-09-18 13:21:48 +00:00
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vk-sys/Cargo.toml
2016-04-30 10:55:26 +00:00
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
2016-09-18 13:21:48 +00:00
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vulkano/Cargo.toml
2016-04-30 10:55:26 +00:00
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
2016-09-18 13:21:48 +00:00
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vulkano-win/Cargo.toml
2016-04-30 10:55:26 +00:00
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
2016-09-18 13:21:48 +00:00
cargo publish --token ${CRATESIO_TOKEN} --manifest-path glsl-to-spirv/Cargo.toml
2016-04-30 10:55:26 +00:00
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
2016-09-18 13:21:48 +00:00
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vulkano-shaders/Cargo.toml
2017-02-02 19:50:38 +00:00
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vulkano-shader-derive/Cargo.toml