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
p2p
go-p2p-tutorial
Commits
5ce48578
Commit
5ce48578
authored
Apr 01, 2021
by
tavit ohanian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
configure pipeline
parent
dbc47d5c
Pipeline
#22
passed with stages
in 4 minutes and 14 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
34 additions
and
0 deletions
+34
-0
.gitlab-ci.yml
.gitlab-ci.yml
+34
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
5ce48578
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
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