mirror of
https://github.com/vulkano-rs/vulkano.git
synced 2024-11-24 07:45:13 +00:00
Remove prehistoric CI configs
This commit is contained in:
parent
79591acf3d
commit
9f47346263
@ -1,30 +0,0 @@
|
||||
image: ubuntu:xenial
|
||||
|
||||
before_script:
|
||||
- apt-get update
|
||||
- apt-get -y install sudo curl git file g++ cmake
|
||||
- curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes
|
||||
- multirust default nightly
|
||||
|
||||
stages:
|
||||
- test
|
||||
- deploy
|
||||
|
||||
job1:
|
||||
stage: test
|
||||
script:
|
||||
- cargo test -v --manifest-path vulkano-shaders/Cargo.toml
|
||||
- cargo test --no-run -v --manifest-path vulkano/Cargo.toml
|
||||
|
||||
pages:
|
||||
stage: deploy
|
||||
only:
|
||||
- master
|
||||
script:
|
||||
- cargo doc --manifest-path vulkano/Cargo.toml
|
||||
- rm -rf public
|
||||
- mkdir public
|
||||
- cp -R vulkano/target/doc/* public
|
||||
artifacts:
|
||||
paths:
|
||||
- public
|
70
.travis.yml
70
.travis.yml
@ -1,70 +0,0 @@
|
||||
language: rust
|
||||
|
||||
jobs:
|
||||
fast_finish: true
|
||||
include:
|
||||
# - os: windows
|
||||
# env: PYTHONPATH=C:\Python38
|
||||
# env: PATH="C:\Python38;$PATH"
|
||||
# rust:
|
||||
# - stable
|
||||
# - os: windows
|
||||
# env: PYTHONPATH=C:\Python38
|
||||
# env: PATH="C:\Python38;$PATH"
|
||||
# rust:
|
||||
# - nightly
|
||||
- os: linux
|
||||
dist: bionic
|
||||
rust:
|
||||
- stable
|
||||
# Nightly build turned off until #1423 resolved
|
||||
# - os: linux
|
||||
# dist: bionic
|
||||
# rust:
|
||||
# - nightly
|
||||
- os: osx
|
||||
rust:
|
||||
- stable
|
||||
- os: osx
|
||||
rust:
|
||||
- nightly
|
||||
|
||||
cache:
|
||||
directories:
|
||||
- $TRAVIS_HOME/.cargo/
|
||||
- $TRAVIS_BUILD_DIR/target/debug/build
|
||||
- $TRAVIS_BUILD_DIR/target/debug/deps
|
||||
- $TRAVIS_BUILD_DIR/target/debug/incremental
|
||||
|
||||
before_cache:
|
||||
- rm -rf $TRAVIS_HOME/.cargo/registry/src
|
||||
|
||||
before_install:
|
||||
- if [[ "$TRAVIS_OS_NAME" == "windows" ]]; then choco install ninja; choco install python3 --params "/InstallAllUsers"; fi
|
||||
|
||||
script:
|
||||
- git diff-tree --check $(git hash-object -t tree /dev/null) HEAD
|
||||
- travis_wait 30 cargo build -j 2 --all
|
||||
- travis_wait 30 cargo test -j 2 --all
|
||||
|
||||
after_success:
|
||||
- |
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
[ $TRAVIS_OS_NAME = linux ] &&
|
||||
travis_wait 30 cargo publish -j 2 --token ${CRATESIO_TOKEN} --manifest-path vk-sys/Cargo.toml
|
||||
- |
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
[ $TRAVIS_OS_NAME = linux ] &&
|
||||
travis_wait 30 cargo publish -j 2 --token ${CRATESIO_TOKEN} --manifest-path vulkano/Cargo.toml
|
||||
- |
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
[ $TRAVIS_OS_NAME = linux ] &&
|
||||
travis_wait 30 cargo publish -j 2 --token ${CRATESIO_TOKEN} --manifest-path vulkano-win/Cargo.toml
|
||||
- |
|
||||
[ $TRAVIS_BRANCH = master ] &&
|
||||
[ $TRAVIS_PULL_REQUEST = false ] &&
|
||||
[ $TRAVIS_OS_NAME = linux ] &&
|
||||
travis_wait 30 cargo publish -j 2 --token ${CRATESIO_TOKEN} --manifest-path vulkano-shaders/Cargo.toml
|
Loading…
Reference in New Issue
Block a user