From c7dd6b9285c1d27e3f14296098be9d68a228fcbc Mon Sep 17 00:00:00 2001 From: Bora Alper Date: Fri, 3 Aug 2018 12:23:00 +0300 Subject: [PATCH] fixed .travis.yml #2 --- .travis.yml | 15 +++++++++++---- 1 file changed, 11 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index a67ca92..b7aa499 100644 --- a/.travis.yml +++ b/.travis.yml @@ -22,7 +22,14 @@ before_install: - chmod +x $GOPATH/bin/dep install: - - dep ensure + - "go get -u github.com/jteeuwen/go-bindata/..." + - "dep ensure" + +before_script: + - "go-bindata + -o=\"GOPATH/src/github.com/boramalper/magnetico/cmd/magneticow/bindata.go\" + -prefix=\"GOPATH/src/github.com/boramalper/magnetico/cmd/magneticow/data/\" + GOPATH/src/github.com/boramalper/magnetico/cmd/magneticow/data/..." script: # The Unit Tests @@ -36,6 +43,6 @@ script: - "go vet github.com/boramalper/magnetico/pkg/persistence/..." # Formatting Errors - - "gofmt -l labs/GOPATH/src/github.com/boramalper/magnetico/cmd/magneticod/" - - "gofmt -l labs/GOPATH/src/github.com/boramalper/magnetico/cmd/magneticow/" - - "gofmt -l labs/GOPATH/src/github.com/boramalper/magnetico/pkg/persistence/" + - "gofmt -l GOPATH/src/github.com/boramalper/magnetico/cmd/magneticod/" + - "gofmt -l GOPATH/src/github.com/boramalper/magnetico/cmd/magneticow/" + - "gofmt -l GOPATH/src/github.com/boramalper/magnetico/pkg/persistence/"