Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
dms3
go-dms3-pq
Commits
3c4474d8
Commit
3c4474d8
authored
Jun 22, 2021
by
tavit ohanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
setup pipeline
parent
18610ee7
Pipeline
#347
passed with stages
in 20 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
35 additions
and
0 deletions
+35
-0
.gitlab-ci.yml
.gitlab-ci.yml
+35
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
3c4474d8
stages
:
-
build
-
test
variables
:
BUILD_DIR
:
"
/tmp/$CI_CONCURRENT_PROJECT_ID"
before_script
:
-
mkdir -p $BUILD_DIR/src
-
cd $BUILD_DIR/src
-
if [ -d $CI_PROJECT_DIR ]
-
then
-
echo "soft link $CI_PROJECT_DIR exists"
-
else
-
echo "creating soft link $CI_PROJECT_DIR"
-
ln -s $CI_PROJECT_DIR
-
fi
-
cd $CI_PROJECT_DIR
build
:
stage
:
build
tags
:
-
testing
script
:
-
echo $CI_JOB_STAGE
-
go build
test
:
stage
:
test
tags
:
-
testing
script
:
-
echo $CI_JOB_STAGE
-
go test -cover
coverage
:
'
/coverage:
\d+.\d+%
of
statements/'
Write
Preview
Markdown
is supported
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