From 49105f903cd1f4c901e0426229358448a8e0be10 Mon Sep 17 00:00:00 2001 From: Harlow Ward Date: Mon, 18 Feb 2019 10:51:48 -0800 Subject: [PATCH] repo doesn't have vendor directory --- .travis.yml | 15 ++++----------- 1 file changed, 4 insertions(+), 11 deletions(-) diff --git a/.travis.yml b/.travis.yml index 94a8b91..4338c26 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,5 +1,9 @@ language: go +# Setup database services required during tests. +services: + - redis-server + # Force-enable Go modules. This will be unnecessary when Go 1.12 lands. env: - GO111MODULE=on @@ -9,20 +13,9 @@ env: go: - "1.10" -# Setup database services required during tests. -services: - - redis-server - # Only clone the most recent commit. git: 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: - go test -v -race ./... # Run all the tests with the race detector enabled