Skip to content

Commit

Permalink
[Amir/Jenson] trying to fix travis failure by skipping generate as go…
Browse files Browse the repository at this point in the history
… file generated is already checked in code
  • Loading branch information
jenson committed Nov 8, 2018
1 parent d851989 commit cdd7541
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 25 deletions.
9 changes: 5 additions & 4 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,17 @@ update-deps:
glide update

generate:
go-bindata -pkg config -o config/data.go data/config_template.yaml
go get github.com/go-bindata/go-bindata
$(GOPATH)/bin/go-bindata -pkg config -o config/data.go data/config_template.yaml

compile: generate
compile:
mkdir -p out/
go build -race $(GLIDE_NOVENDOR)

ci.test: build-deps generate
ci.test: build-deps
ENVIRONMENT=test go test $(shell glide novendor | grep -v proctord) -v

test: generate
test:
ENVIRONMENT=test go test $(shell glide novendor | grep -v proctord)

build: build-deps compile fmt vet lint
Expand Down
38 changes: 20 additions & 18 deletions glide.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 1 addition & 3 deletions glide.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,4 @@ import:
- package: github.com/spf13/cobra
version: v0.0.1
- package: github.com/thingful/httpmock
version: 0.0.2
- package: github.com/go-bindata/go-bindata
version: v1.0.0
version: 0.0.2

0 comments on commit cdd7541

Please sign in to comment.