From 0d77ddee94746bcbd71cba50973aaebc712c917a Mon Sep 17 00:00:00 2001 From: Bora Alper Date: Fri, 3 Aug 2018 12:54:26 +0300 Subject: [PATCH] fixed .travis.yml (3) --- .travis.yml | 14 ++++++++------ 1 file changed, 8 insertions(+), 6 deletions(-) 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/"