fixed .travis.yml #2

This commit is contained in:
Bora Alper 2018-08-03 12:23:00 +03:00
parent e0a323d01c
commit c7dd6b9285

View File

@ -22,7 +22,14 @@ before_install:
- chmod +x $GOPATH/bin/dep - chmod +x $GOPATH/bin/dep
install: 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: script:
# The Unit Tests # The Unit Tests
@ -36,6 +43,6 @@ script:
- "go vet github.com/boramalper/magnetico/pkg/persistence/..." - "go vet github.com/boramalper/magnetico/pkg/persistence/..."
# Formatting Errors # Formatting Errors
- "gofmt -l labs/GOPATH/src/github.com/boramalper/magnetico/cmd/magneticod/" - "gofmt -l GOPATH/src/github.com/boramalper/magnetico/cmd/magneticod/"
- "gofmt -l labs/GOPATH/src/github.com/boramalper/magnetico/cmd/magneticow/" - "gofmt -l 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/pkg/persistence/"