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 language: go
go: go:
- "1.11" - "1.12"
# Only clone the most recent commit. # Only clone the most recent commit.
git: git:
depth: 1 depth: 1
env:
- DEP_VERSION="0.5.0"
before_install: before_install:
# Dump environment variables # Dump environment variables
- printenv - 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: install:
- "go get -u -v github.com/kevinburke/go-bindata/..." - "go get -u -v github.com/kevinburke/go-bindata/..."
- "go get -u -v honnef.co/go/tools/cmd/staticcheck" - "go get -u -v honnef.co/go/tools/cmd/staticcheck"
- "make ensure"
before_script: before_script:
- "make magneticod" - "make magneticod"
- "make magneticow" - "make magneticow"
- "make image"
script: script:
# The Unit Tests # The Unit Tests