2016-04-11 06:27:44 +00:00
|
|
|
image: ubuntu:xenial
|
|
|
|
|
|
|
|
before_script:
|
2016-04-11 06:39:21 +00:00
|
|
|
- apt-get update
|
2016-04-11 07:00:05 +00:00
|
|
|
- apt-get -y install sudo curl git file g++ cmake
|
2016-04-11 06:49:27 +00:00
|
|
|
- curl -sf https://raw.githubusercontent.com/brson/multirust/master/blastoff.sh | sh -s -- --yes
|
2016-04-11 06:39:21 +00:00
|
|
|
- multirust default nightly
|
2016-02-13 18:38:55 +00:00
|
|
|
|
|
|
|
stages:
|
|
|
|
- test
|
2016-04-11 06:27:44 +00:00
|
|
|
- deploy
|
2016-02-13 18:38:55 +00:00
|
|
|
|
|
|
|
job1:
|
|
|
|
stage: test
|
|
|
|
script:
|
|
|
|
- cargo test -v --manifest-path vulkano-shaders/Cargo.toml
|
2016-04-15 16:05:58 +00:00
|
|
|
- cargo test --no-run -v --manifest-path vulkano/Cargo.toml
|
2016-04-11 06:27:44 +00:00
|
|
|
|
2016-04-11 06:34:59 +00:00
|
|
|
pages:
|
2016-04-11 06:27:44 +00:00
|
|
|
stage: deploy
|
2016-04-11 06:32:22 +00:00
|
|
|
only:
|
|
|
|
- master
|
2016-04-11 06:27:44 +00:00
|
|
|
script:
|
|
|
|
- cargo doc --manifest-path vulkano/Cargo.toml
|
2016-04-11 06:34:59 +00:00
|
|
|
- rm -rf public
|
|
|
|
- mkdir public
|
2016-04-11 07:21:50 +00:00
|
|
|
- cp -R vulkano/target/doc/* public
|
2016-04-11 06:32:22 +00:00
|
|
|
artifacts:
|
|
|
|
paths:
|
|
|
|
- public
|