fix travis config
This commit is contained in:
parent
5507ca371a
commit
c3ebeffa4c
11
.travis.yml
11
.travis.yml
@ -4,31 +4,24 @@ dist: xenial
|
||||
|
||||
language: go
|
||||
go:
|
||||
- "1.11"
|
||||
- "1.12"
|
||||
|
||||
# Only clone the most recent commit.
|
||||
git:
|
||||
depth: 1
|
||||
|
||||
env:
|
||||
- DEP_VERSION="0.5.0"
|
||||
|
||||
before_install:
|
||||
# Dump environment variables
|
||||
- printenv
|
||||
# Download dep 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
|
||||
- chmod +x $GOPATH/bin/dep
|
||||
|
||||
install:
|
||||
- "go get -u -v github.com/kevinburke/go-bindata/..."
|
||||
- "go get -u -v honnef.co/go/tools/cmd/staticcheck"
|
||||
- "make ensure"
|
||||
|
||||
before_script:
|
||||
- "make magneticod"
|
||||
- "make magneticow"
|
||||
- "make image"
|
||||
|
||||
script:
|
||||
# The Unit Tests
|
||||
|
Loading…
Reference in New Issue
Block a user