Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
A
atumd
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Jobs
Commits
Open sidebar
IRMA
Github mirrors
atumd
Commits
d323a650
Commit
d323a650
authored
Apr 12, 2019
by
Tomas
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
chore: Add .gitlab-ci.yml
parent
273b0e49
Pipeline
#21050
failed with stages
in 2 minutes and 40 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
0 deletions
+33
-0
.gitlab-ci.yml
.gitlab-ci.yml
+33
-0
No files found.
.gitlab-ci.yml
0 → 100644
View file @
d323a650
image
:
privacybydesign/golang:latest
cache
:
key
:
$CI_COMMIT_REF_SLUG
paths
:
-
$GOPATH/pkg/mod
stages
:
-
test
-
build
variables
:
GOOS
:
linux
GOARCH
:
amd64
CGO_ENABLED
:
0
OUTPUT_NAME
:
atumd-${CI_COMMIT_REF_SLUG}-${GOOS}-${GOARCH}
before_script
:
-
set -euxo pipefail
-
go get
unit_tests
:
stage
:
test
script
:
-
go test ./...
binaries
:
stage
:
build
artifacts
:
paths
:
-
artifacts/*
script
:
-
go build -a -ldflags '-extldflags "-static"' -o "$OUTPUT_NAME" ./irma
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