Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
tank
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Container Registry
Model registry
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
AURA
tank
Commits
0c3d6b1c
Commit
0c3d6b1c
authored
6 years ago
by
Christian Pointner
Browse files
Options
Downloads
Patches
Plain Diff
improve gitlab ci
parent
7050d75f
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
.gitlab-ci.yml
+8
-4
8 additions, 4 deletions
.gitlab-ci.yml
with
8 additions
and
4 deletions
.gitlab-ci.yml
+
8
−
4
View file @
0c3d6b1c
...
...
@@ -4,16 +4,20 @@ stages:
-
test
-
build
forma
t
:
ve
t
:
stage
:
test
script
:
-
go vet ./...
test
:
stage
:
test
script
:
## sqlite does not work right now (because the foreign key handling in gorm is flawed)
## so the store test cases need a mysql server now *grrrrr*
#
- go test -v -cover $(go list ./... | grep -v
/vend
or
/
)
-
go test -v -cover $(go list ./... | grep -v
tank/st
or
e
)
comp
il
e
:
stage
:
bu
il
d
bu
il
d
:
stage
:
comp
il
e
script
:
-
go build -ldflags "-extldflags '-static'" -tags netgo -o $CI_PROJECT_DIR/tank ./cmd/tank
## sqlite needs cgo... :(
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment