Skip to content
Snippets Groups Projects
Commit 217bf97d authored by Nick Thomas's avatar Nick Thomas
Browse files

Start CI configuration

parent cdbf89c7
No related branches found
No related tags found
1 merge request!1Initial implementation of an elasticsearch indexer in Go
.test: &test
stage: test
script:
- make verify es-git-go
test 1.5:
<<: *test
image: golang:1.5
test 1.6:
<<: *test
image: golang:1.6
test 1.7:
<<: *test
image: golang:1.7
test 1.8:
<<: *test
image: golang:1.8
#!/usr/bin/make -f
 
GO_SRC := $(shell find . -iname *.go)
GO_PKGS := $(shell go list ./... | grep -v vendor )
 
GO15VENDOREXPERIMENT := 1
CGO_ENABLED := 0
 
es-git-go: ${GO_SRC} Makefile
go build
fmt:
go fmt ${GO_PKGS}
test:
go test -v ${GO_PKGS}
verify: fmt test
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment