1
0
mirror of https://github.com/docker/docker-credential-helpers.git synced 2026-06-13 16:01:28 +05:30

Move CI scripts to the Makefile.

Signed-off-by: David Calavera <david.calavera@gmail.com>
This commit is contained in:
David Calavera
2016-02-08 09:39:18 -08:00
parent 21a3788372
commit 2847943b2f
2 changed files with 14 additions and 11 deletions
+3 -9
View File
@@ -7,12 +7,6 @@
email: false
go:
- 1.5
install:
- go get -t ./...
- go get github.com/golang/lint/golint
before_script:
- go vet ./...
- test -z "$(golint ./... | tee /dev/stderr)"
- test -z "$(gofmt -s -l . | tee /dev/stderr)"
script:
- go test -v ./...
install: make deps
before_script: test -z "$(make validate | tee /dev/stderr)"
script: make test
+11 -2
View File
@@ -1,10 +1,19 @@
.PHONY: all osxkeychain test
.PHONY: all deps osxkeychain test
all: test
deps:
go get -t ./...
go get github.com/golang/lint/golint
osxkeychain:
mkdir -p bin
go build -o bin/docker-credential-osxkeychain osxkeychain/cmd/main_darwin.go
test:
go test ./...
go test -v ./...
validate:
go vet ./...
golint ./...
gofmt -s -l .