diff --git a/.travis.yml b/.travis.yml index b7aa499..8f4219b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,6 +16,8 @@ env: - DEP_VERSION="0.5.0" before_install: + # Dump environment variables + - printenv # 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 # Make the binary executable @@ -27,9 +29,9 @@ install: 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/..." + -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 @@ -43,6 +45,6 @@ script: - "go vet github.com/boramalper/magnetico/pkg/persistence/..." # Formatting Errors - - "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/" + - "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/"