Modified .travis.yml and test.sh to better adapt to Travis CI build workflow
This commit is contained in:
parent
384c5652d7
commit
f3780941a1
|
@ -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
|
||||
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue