Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
C
cashier
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Kevin Lyda
cashier
Commits
c82e7ee1
Commit
c82e7ee1
authored
Aug 25, 2018
by
Niall Sheridan
Browse files
Options
Downloads
Patches
Plain Diff
Add codecov.io
Split runs into lint/test Remove go 1.9 - coverage does not work with `./...` and go 1.9
parent
911a0025
Branches
Branches containing commit
No related tags found
No related merge requests found
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
.gitignore
+1
-0
1 addition, 0 deletions
.gitignore
.travis.yml
+6
-3
6 additions, 3 deletions
.travis.yml
Makefile
+4
-3
4 additions, 3 deletions
Makefile
README.md
+2
-2
2 additions, 2 deletions
README.md
with
13 additions
and
8 deletions
.gitignore
+
1
−
0
View file @
c82e7ee1
...
@@ -9,3 +9,4 @@ signing_key*
...
@@ -9,3 +9,4 @@ signing_key*
http.log
http.log
.idea
.idea
.DS_Store
.DS_Store
coverage.txt
This diff is collapsed.
Click to expand it.
.travis.yml
+
6
−
3
View file @
c82e7ee1
...
@@ -3,12 +3,12 @@ services:
...
@@ -3,12 +3,12 @@ services:
-
mysql
-
mysql
env
:
env
:
-
MYSQL_TEST="true"
-
SUITE=lint
-
SUITE=test
go
:
go
:
-
1.11.x
-
1.11.x
-
1.10.x
-
1.10.x
-
1.9.x
-
tip
-
tip
matrix
:
matrix
:
...
@@ -25,4 +25,7 @@ install:
...
@@ -25,4 +25,7 @@ install:
sudo
:
false
sudo
:
false
script
:
script
:
-
make test
-
MYSQL_TEST="true" make $SUITE
after_success
:
-
bash <(curl -s https://codecov.io/bash)
This diff is collapsed.
Click to expand it.
Makefile
+
4
−
3
View file @
c82e7ee1
...
@@ -10,9 +10,11 @@ CGO_ENABLED ?= $(shell go env CGO_ENABLED)
...
@@ -10,9 +10,11 @@ CGO_ENABLED ?= $(shell go env CGO_ENABLED)
all
:
test build
all
:
test build
test
:
dep
test
:
go
test
./...
go
test
-coverprofile
=
coverage.txt
-covermode
=
count
./...
go
install
-race
$(
CASHIER_CMD
)
$(
CASHIERD_CMD
)
go
install
-race
$(
CASHIER_CMD
)
$(
CASHIERD_CMD
)
lint
:
dep
go vet ./...
go vet ./...
go list ./... |xargs
-L1
golint
-set_exit_status
go list ./... |xargs
-L1
golint
-set_exit_status
gofmt
-s
-d
-l
-e
$(
SRC_FILES
)
gofmt
-s
-d
-l
-e
$(
SRC_FILES
)
...
@@ -39,7 +41,6 @@ migration:
...
@@ -39,7 +41,6 @@ migration:
dep
:
dep
:
go get
-u
golang.org/x/lint/golint
go get
-u
golang.org/x/lint/golint
go get
-u
golang.org/x/tools/cmd/goimports
version
:
version
:
@
echo
$(
VERSION
)
@
echo
$(
VERSION
)
...
...
...
...
This diff is collapsed.
Click to expand it.
README.md
+
2
−
2
View file @
c82e7ee1
...
@@ -76,10 +76,10 @@ docker run -it --rm -p 10000:10000 --name cashier -v ${PWD}:/cashier nsheridan/c
...
@@ -76,10 +76,10 @@ docker run -it --rm -p 10000:10000 --name cashier -v ${PWD}:/cashier nsheridan/c
# Requirements
# Requirements
## Server
## Server
Go 1.
9
or 1.1
0
, though it may work with earlier versions.
Go 1.
10
or 1.1
1
, though it may work with earlier versions.
## Client
## Client
-
Go 1.
9
or 1.1
0
or later, though it may work with earlier versions.
-
Go 1.
10
or 1.1
1
or later, though it may work with earlier versions.
-
OpenSSH 5.6 or newer.
-
OpenSSH 5.6 or newer.
-
A working SSH agent (note that the GPG agent does not handle certificates)
-
A working SSH agent (note that the GPG agent does not handle certificates)
...
...
...
...
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
sign in
to comment