Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Chiefs
ChiefSend2
Commits
75b456f3
Commit
75b456f3
authored
Mar 28, 2021
by
Lukas Böhm
🎱
Browse files
Update .gitlab-ci.yml file
parent
24dcc718
Pipeline
#59912
failed with stage
in 15 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
.gitlab-ci.yml
View file @
75b456f3
...
@@ -18,6 +18,8 @@ variables:
...
@@ -18,6 +18,8 @@ variables:
# repository in /go/src/gitlab.com/namespace/project
# repository in /go/src/gitlab.com/namespace/project
# Thus, making a symbolic link corrects this.
# Thus, making a symbolic link corrects this.
before_script
:
before_script
:
-
mkdir -p $GOPATH/src/$(dirname $REPO_NAME)
-
ln -svf $CI_PROJECT_DIR $GOPATH/src/$REPO_NAME
-
cd $CI_PROJECT_DIR/builds/chiefs/chiefsend2/api
-
cd $CI_PROJECT_DIR/builds/chiefs/chiefsend2/api
-
mkdir -p ./test/data
-
mkdir -p ./test/data
-
mkdir -p ./test/temp
-
mkdir -p ./test/temp
...
@@ -32,6 +34,7 @@ stages:
...
@@ -32,6 +34,7 @@ stages:
test
:
test
:
script
:
script
:
-
go mod init
-
go mod init
-
go mod tidy
-
go fmt $(go list ./... | grep -v /vendor/)
-
go fmt $(go list ./... | grep -v /vendor/)
-
go vet $(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/) -v -cover
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment