fix travis config

This commit is contained in:
Bora M. Alper 2019-05-19 10:31:49 +01:00
parent 5507ca371a
commit c3ebeffa4c
No known key found for this signature in database
GPG Key ID: 8F1A9504E1BD114D

View File

@ -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