mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-02-23 04:52:28 +00:00
update ci
This commit is contained in:
parent
6aa53942a0
commit
c025cbd8ea
1 changed files with 3 additions and 2 deletions
|
@ -6,13 +6,13 @@ stages:
|
||||||
variables:
|
variables:
|
||||||
CARGO_HOME: $CI_PROJECT_DIR/cargo
|
CARGO_HOME: $CI_PROJECT_DIR/cargo
|
||||||
|
|
||||||
test-none:
|
test-default:
|
||||||
stage: test
|
stage: test
|
||||||
image: msrd0/rust:alpine
|
image: msrd0/rust:alpine
|
||||||
before_script:
|
before_script:
|
||||||
- cargo -V
|
- cargo -V
|
||||||
script:
|
script:
|
||||||
- cargo test --all --no-default-features
|
- cargo test --all
|
||||||
cache:
|
cache:
|
||||||
paths:
|
paths:
|
||||||
- cargo/
|
- cargo/
|
||||||
|
@ -48,6 +48,7 @@ publish:
|
||||||
script:
|
script:
|
||||||
- cd gotham_restful_derive
|
- cd gotham_restful_derive
|
||||||
- cargo publish
|
- cargo publish
|
||||||
|
- sleep 10s
|
||||||
- cd ../gotham_restful
|
- cd ../gotham_restful
|
||||||
- cargo publish
|
- cargo publish
|
||||||
- cd ..
|
- cd ..
|
||||||
|
|
Loading…
Add table
Reference in a new issue