.gitlab-ci.yml: use test target
Signed-off-by: Pierre-Alain TORET <pierre-alain.toret@protonmail.com>
This commit is contained in:
parent
8b0d198934
commit
c59a53515c
@ -38,10 +38,10 @@ go-test:
|
|||||||
POSTGRES_PASSWORD: postgres
|
POSTGRES_PASSWORD: postgres
|
||||||
POSTGRES_DB: commento_test
|
POSTGRES_DB: commento_test
|
||||||
COMMENTO_POSTGRES: postgres://postgres:postgres@postgres/commento_test?sslmode=disable
|
COMMENTO_POSTGRES: postgres://postgres:postgres@postgres/commento_test?sslmode=disable
|
||||||
|
GOPATH: $CI_PROJECT_DIR
|
||||||
script:
|
script:
|
||||||
- cd api
|
- mkdir -p src/gitlab.com/commento && cd src/gitlab.com/commento && ln -s $CI_PROJECT_DIR && cd $CI_PROJECT_NAME
|
||||||
- (go get -v . || true) # TODO: remove this ugly hack
|
- make test
|
||||||
- go test -v .
|
|
||||||
|
|
||||||
docker-registry:
|
docker-registry:
|
||||||
stage: docker-registry
|
stage: docker-registry
|
||||||
|
Loading…
Reference in New Issue
Block a user