]>
Commit | Line | Data |
---|---|---|
9b12e4fe JC |
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 |