Test and build in parallel.

This commit is contained in:
Qi Xiao 2021-05-10 01:02:58 +01:00
parent 1de1baff9d
commit ed7726c191

View File

@ -6,18 +6,12 @@ variables:
before_script:
- go version
stages:
- test
- deploy
test:
stage: test
script:
- apk add gcc musl-dev
- go test -race ./...
deploy:
stage: deploy
build:
script:
- apk add zip
- ./tools/buildall.sh . bin HEAD