Browse Source

Run test containers in TTY mode

Signed-off-by: Aanand Prasad <[email protected]>
Aanand Prasad 9 years ago
parent
commit
e8756905ba
1 changed files with 2 additions and 0 deletions
  1. 2 0
      script/test-versions

+ 2 - 0
script/test-versions

@@ -6,6 +6,7 @@ set -e
 
 >&2 echo "Running lint checks"
 docker run --rm \
+  --tty \
   ${GIT_VOLUME} \
   --entrypoint="tox" \
   "$TAG" -e pre-commit
@@ -51,6 +52,7 @@ for version in $DOCKER_VERSIONS; do
 
   docker run \
     --rm \
+    --tty \
     --link="$daemon_container:docker" \
     --env="DOCKER_HOST=tcp://docker:2375" \
     --env="DOCKER_VERSION=$version" \