Changing script workflow

This commit is contained in:
axl89 2016-05-24 17:09:29 +02:00
parent 6b8c92c6b3
commit cb983f7ffd
1 changed files with 4 additions and 3 deletions

View File

@ -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