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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user