From 6af6894d14ac0a2a2e2eb82ae95e02d32b94224d Mon Sep 17 00:00:00 2001 From: Tomas Babej Date: Tue, 1 Jan 2019 12:12:11 -0500 Subject: [PATCH] travis: Use docker run instead of docker up --- .travis.yml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 3741d3cc4..16604e3f7 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,6 @@ matrix: install: # Build the docker container - pushd $TRAVIS_BUILD_DIR - - if [[ $CONTAINER != "osx" ]]; then docker-compose build test-$CONTAINER || travis_terminate 1; fi + - if [[ $CONTAINER != "osx" ]]; then docker-compose build test-$CONTAINER ; fi script: - - if [[ $CONTAINER != "osx" ]]; then docker-compose up test-$CONTAINER || travis_terminate 1; else bash test/scripts/test_osx.sh || travis_terminate 1 ; fi + - if [[ $CONTAINER != "osx" ]]; then docker-compose run test-$CONTAINER; else bash test/scripts/test_osx.sh ; fi