aboutsummaryrefslogtreecommitdiffhomepage
path: root/vendor/github.com/fsouza/go-dockerclient/travis-scripts/run-tests.bash
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/github.com/fsouza/go-dockerclient/travis-scripts/run-tests.bash')
-rwxr-xr-xvendor/github.com/fsouza/go-dockerclient/travis-scripts/run-tests.bash15
1 files changed, 15 insertions, 0 deletions
diff --git a/vendor/github.com/fsouza/go-dockerclient/travis-scripts/run-tests.bash b/vendor/github.com/fsouza/go-dockerclient/travis-scripts/run-tests.bash
new file mode 100755
index 0000000..0d836cd
--- /dev/null
+++ b/vendor/github.com/fsouza/go-dockerclient/travis-scripts/run-tests.bash
@@ -0,0 +1,15 @@
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
7if ! [[ $TRAVIS_GO_VERSION =~ ^1\.[34] ]]; then
8 make lint vet
9fi
10
11make fmtcheck gotest GO_TEST_FLAGS=-race
12
13if [[ $TRAVIS_OS_NAME == "linux" ]]; then
14 DOCKER_HOST=tcp://127.0.0.1:2375 make integration
15fi