mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-22 14:56:42 +00:00
29 lines
798 B
YAML
29 lines
798 B
YAML
sudo: false
|
|
|
|
language: rust
|
|
rust:
|
|
- nightly
|
|
- stable
|
|
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- libstdc++6
|
|
|
|
script:
|
|
- cargo test -v --manifest-path glsl-to-spirv/Cargo.toml
|
|
- cargo test -v --manifest-path vulkano-shaders/Cargo.toml
|
|
- cargo build -v --manifest-path vulkano/Cargo.toml # TODO: should be "cargo test" ; tests don't pass yet on travis
|
|
|
|
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
|