Modified .travis.yml and test.sh to better adapt to Travis CI build workflow

This commit is contained in:
axl89 2016-05-24 10:28:43 +02:00
parent 384c5652d7
commit f3780941a1
2 changed files with 5 additions and 6 deletions

View File

@ -7,5 +7,9 @@ python:
services:
- docker
install:
- docker run --rm -t -v "$TRAVIS_BUILD_DIR:/tmp/pandorafms" -p 80:80 pandorafms/pandorafms-base /tmp/pandorafms/tests/test.sh
script:
- docker run --rm -t -v "$TRAVIS_BUILD_DIR:/tmp/pandorafms" pandorafms/pandorafms-base /tmp/pandorafms/tests/test.sh
- python /tmp/pandorafms/tests/run_console_tests.py

View File

@ -49,9 +49,4 @@ check "Starting the Pandora FMS Server" $?
service pandora_agent_daemon start
check "Starting the Pandora FMS Agent" $?
#Run console CI tests
cd /tmp/pandorafms/tests && chmod +x run_console_tests.py && ./run_console_tests.py
check "Running console CI tests" $?
exit 0