X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=vendor%2Fgithub.com%2Ffsouza%2Fgo-dockerclient%2Ftravis-scripts%2Frun-tests.bash;fp=vendor%2Fgithub.com%2Ffsouza%2Fgo-dockerclient%2Ftravis-scripts%2Frun-tests.bash;h=0d836cd4f4a814548cea0b9edf21f157be103765;hb=9b12e4fe6f3c95986f1f3ec791636c58ca7e7583;hp=0000000000000000000000000000000000000000;hpb=cec3de8a3bcaffd21dedd1bf42da4b490cae7e16;p=github%2Ffretlink%2Fterraform-provider-statuscake.git 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 @@ +#!/bin/bash -ex + +# Copyright 2016 go-dockerclient authors. All rights reserved. +# Use of this source code is governed by a BSD-style +# license that can be found in the LICENSE file. + +if ! [[ $TRAVIS_GO_VERSION =~ ^1\.[34] ]]; then + make lint vet +fi + +make fmtcheck gotest GO_TEST_FLAGS=-race + +if [[ $TRAVIS_OS_NAME == "linux" ]]; then + DOCKER_HOST=tcp://127.0.0.1:2375 make integration +fi