1
0
Fork 0
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:
Dominic 2020-01-20 23:51:27 +01:00
parent 6aa53942a0
commit c025cbd8ea
Signed by: msrd0
GPG key ID: DCC8C247452E98F9

View file

@ -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 ..