From cb983f7ffd3f6e526ded107b6ca7c79696331a97 Mon Sep 17 00:00:00 2001 From: axl89 Date: Tue, 24 May 2016 17:09:29 +0200 Subject: [PATCH] Changing script workflow --- .travis.yml | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/.travis.yml b/.travis.yml index a8c71b5b32..8f93c7a9ce 100644 --- a/.travis.yml +++ b/.travis.yml @@ -26,7 +26,8 @@ install: # - "export DISPLAY=:99.0" # - "sh -e /etc/init.d/xvfb start" # - sleep 4 # give xvfb some time to start - + script: - - docker run -dt -v "$TRAVIS_BUILD_DIR:/tmp/pandorafms" -p 127.0.0.1:80:80 pandorafms/pandorafms-base /tmp/pandorafms/tests/test.sh - - python $TRAVIS_BUILD_DIR/tests/console/PAN1.py + - docker run --name pandorafms -h pandorafms -dt -v "$TRAVIS_BUILD_DIR:/tmp/pandorafms" -p 127.0.0.1:80:80 pandorafms/pandorafms-base tail -f /var/log/httpd/access_log + - docker exec -t pandorafms /tmp/pandorafms/tests/test.sh + - python $TRAVIS_BUILD_DIR/tests/run_console_tests.py