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

Update .gitlab-ci.yml file

parent 2cf3cd1c
Pipeline #59924 failed with stages
in 1 minute and 15 seconds
......@@ -9,7 +9,7 @@ cache:
- /go/src/gopkge
variables:
REPO_NAME: gitlab.cs.fau.de/chiefs/chiefsend2/api
REPO_NAME: gitlab.cs.fau.de/chiefs/chiefsend2
# 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,11 +18,12 @@ 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)
- mkdir -p $GOPATH/src/$(dirname $REPO_NAME)/api
- ln -svf $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME
- cd $GOPATH/src/$REPO_NAME
- find $GOPATH -maxdepth 3
- find $CI_PROJECT_DIR -maxdepth 3
- cd $GOPATH/src/$REPO_NAME/api
- mkdir -p ./test/data ./test/temp
- export DATABASE_URI=sqlite:test.db
- export MEDIA_DIR=./media/test
stages:
- test
......
Supports Markdown
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