repo doesn't have vendor directory

This commit is contained in:
Harlow Ward 2019-02-18 10:51:48 -08:00
parent cac2958a25
commit 49105f903c

View file

@ -1,5 +1,9 @@
language: go language: go
# Setup database services required during tests.
services:
- redis-server
# Force-enable Go modules. This will be unnecessary when Go 1.12 lands. # Force-enable Go modules. This will be unnecessary when Go 1.12 lands.
env: env:
- GO111MODULE=on - GO111MODULE=on
@ -9,20 +13,9 @@ env:
go: go:
- "1.10" - "1.10"
# Setup database services required during tests.
services:
- redis-server
# Only clone the most recent commit. # Only clone the most recent commit.
git: git:
depth: 1 depth: 1
# Skip the install step. Don't `go get` dependencies. Only build with the code
# in vendor/
install: true
# script always runs to completion (set +e). If we have linter issues AND a
# failing test, we want to see both. Configure golangci-lint with a
# .golangci.yml file at the top level of your repo.
script: script:
- go test -v -race ./... # Run all the tests with the race detector enabled - go test -v -race ./... # Run all the tests with the race detector enabled