Update crossbeam version and travis setup (#1109)

This commit is contained in:
Lucas Kent 2018-11-11 11:46:23 +11:00 committed by GitHub
parent 2cfa2a5931
commit ff9cc0d9a2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 33 additions and 47 deletions

View File

@ -1,55 +1,41 @@
# The shaderc dependencies are already installed on the base images
# so we dont need to worry about installing them.
dist: xenial
os:
- linux
- osx
- linux
- osx
language: rust
rust:
- nightly
- stable
- nightly
- stable
cache:
cargo
install:
- if [[ $TRAVIS_OS_NAME == "linux" ]]; then export CXX="g++-4.8" ; fi
addons:
apt:
sources:
- ubuntu-toolchain-r-test
- george-edison55-precise-backports # recent version of cmake
packages:
- gcc-4.8
- g++-4.8 # required to compile glslang
- clang
- cmake
- cmake-data
script:
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
- travis_wait cargo test --all -j 1
- cd examples
- cargo build
- cd .. # this is very important or else the below `cargo publish` will fail
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
- travis_wait cargo test --all -j 2
- cd examples
- cargo build -j 2
- cd .. # this is very important or else the below `cargo publish` will fail
after_success:
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_OS_NAME = linux ] &&
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vk-sys/Cargo.toml
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_OS_NAME = linux ] &&
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vulkano/Cargo.toml
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_OS_NAME = linux ] &&
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vulkano-win/Cargo.toml
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_OS_NAME = linux ] &&
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vulkano-shaders/Cargo.toml
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_OS_NAME = linux ] &&
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vk-sys/Cargo.toml
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_OS_NAME = linux ] &&
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vulkano/Cargo.toml
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_OS_NAME = linux ] &&
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vulkano-win/Cargo.toml
- |
[ $TRAVIS_BRANCH = master ] &&
[ $TRAVIS_PULL_REQUEST = false ] &&
[ $TRAVIS_OS_NAME = linux ] &&
cargo publish --token ${CRATESIO_TOKEN} --manifest-path vulkano-shaders/Cargo.toml

View File

@ -13,7 +13,7 @@ readme = "../README.md"
build = "build.rs"
[dependencies]
crossbeam = "0.4"
crossbeam = "0.5"
fnv = "1.0.6"
shared_library = "0.1.7"
smallvec = "0.6.0"