From c59a53515ceef616d31e3c5d23838041fb150f36 Mon Sep 17 00:00:00 2001 From: Pierre-Alain TORET Date: Sun, 10 Jun 2018 16:32:52 +0200 Subject: [PATCH] .gitlab-ci.yml: use test target Signed-off-by: Pierre-Alain TORET --- .gitlab-ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index f6ad1b9..cde18c8 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -38,10 +38,10 @@ go-test: POSTGRES_PASSWORD: postgres POSTGRES_DB: commento_test COMMENTO_POSTGRES: postgres://postgres:postgres@postgres/commento_test?sslmode=disable + GOPATH: $CI_PROJECT_DIR script: - - cd api - - (go get -v . || true) # TODO: remove this ugly hack - - go test -v . + - mkdir -p src/gitlab.com/commento && cd src/gitlab.com/commento && ln -s $CI_PROJECT_DIR && cd $CI_PROJECT_NAME + - make test docker-registry: stage: docker-registry