Commit 2cf3cd1c authored by Lukas Böhm's avatar Lukas Böhm 🎱
Browse files

Update .gitlab-ci.yml file

parent ff18d970
Pipeline #59921 failed with stages
in 11 seconds
......@@ -9,7 +9,7 @@ cache:
- /go/src/gopkge
variables:
REPO_NAME: gitlab.cs.fau.de/chiefs/chiefsend2
REPO_NAME: gitlab.cs.fau.de/chiefs/chiefsend2/api
# The problem is that to be able to use go get, one needs to put
# the repository in the $GOPATH. So for example if your gitlab domain
......@@ -18,9 +18,9 @@ variables:
# repository in /go/src/gitlab.com/namespace/project
# Thus, making a symbolic link corrects this.
before_script:
- mkdir -p $GOPATH/src/$(dirname $REPO_NAME)/api
- ln -svf $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME/api
- cd $GOPATH/src/$REPO_NAME/api
- mkdir -p $GOPATH/src/$(dirname $REPO_NAME)
- ln -svf $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME
- cd $GOPATH/src/$REPO_NAME
- find $GOPATH -maxdepth 3
- find $CI_PROJECT_DIR -maxdepth 3
......@@ -33,7 +33,7 @@ format:
script:
- go fmt $(go list ./... | grep -v /vendor/)
- go vet $(go list ./... | grep -v /vendor/)
- go test $(go list ./... | grep -v /vendor/) -v -cover
- go test $(go list ./... | grep -v /vendor/)
compile:
stage: build
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment