fixed .travis.yml (3)
This commit is contained in:
parent
c7dd6b9285
commit
0d77ddee94
14
.travis.yml
14
.travis.yml
@ -16,6 +16,8 @@ env:
|
|||||||
- DEP_VERSION="0.5.0"
|
- DEP_VERSION="0.5.0"
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
|
# Dump environment variables
|
||||||
|
- printenv
|
||||||
# Download the binary to bin folder in $GOPATH
|
# Download the binary to bin folder in $GOPATH
|
||||||
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
|
- curl -L -s https://github.com/golang/dep/releases/download/v${DEP_VERSION}/dep-linux-amd64 -o $GOPATH/bin/dep
|
||||||
# Make the binary executable
|
# Make the binary executable
|
||||||
@ -27,9 +29,9 @@ install:
|
|||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- "go-bindata
|
- "go-bindata
|
||||||
-o=\"GOPATH/src/github.com/boramalper/magnetico/cmd/magneticow/bindata.go\"
|
-o=\"${GOPATH}/src/github.com/boramalper/magnetico/cmd/magneticow/bindata.go\"
|
||||||
-prefix=\"GOPATH/src/github.com/boramalper/magnetico/cmd/magneticow/data/\"
|
-prefix=\"${GOPATH}/src/github.com/boramalper/magnetico/cmd/magneticow/data/\"
|
||||||
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
|
||||||
@ -43,6 +45,6 @@ script:
|
|||||||
- "go vet github.com/boramalper/magnetico/pkg/persistence/..."
|
- "go vet github.com/boramalper/magnetico/pkg/persistence/..."
|
||||||
|
|
||||||
# Formatting Errors
|
# Formatting Errors
|
||||||
- "gofmt -l GOPATH/src/github.com/boramalper/magnetico/cmd/magneticod/"
|
- "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/cmd/magneticow/"
|
||||||
- "gofmt -l GOPATH/src/github.com/boramalper/magnetico/pkg/persistence/"
|
- "gofmt -l ${GOPATH}/src/github.com/boramalper/magnetico/pkg/persistence/"
|
||||||
|
Loading…
Reference in New Issue
Block a user