]> git.immae.eu Git - github/fretlink/terraform-provider-statuscake.git/blob - vendor/github.com/fsouza/go-dockerclient/travis-scripts/run-tests.bash
0d836cd4f4a814548cea0b9edf21f157be103765
[github/fretlink/terraform-provider-statuscake.git] / vendor / github.com / fsouza / go-dockerclient / travis-scripts / run-tests.bash
1 #!/bin/bash -ex
2
3 # Copyright 2016 go-dockerclient authors. All rights reserved.
4 # Use of this source code is governed by a BSD-style
5 # license that can be found in the LICENSE file.
6
7 if ! [[ $TRAVIS_GO_VERSION =~ ^1\.[34] ]]; then
8 make lint vet
9 fi
10
11 make fmtcheck gotest GO_TEST_FLAGS=-race
12
13 if [[ $TRAVIS_OS_NAME == "linux" ]]; then
14 DOCKER_HOST=tcp://127.0.0.1:2375 make integration
15 fi