mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
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:
|
services:
|
||||||
- docker
|
- docker
|
||||||
|
|
||||||
|
install:
|
||||||
|
- docker run --rm -t -v "$TRAVIS_BUILD_DIR:/tmp/pandorafms" -p 80:80 pandorafms/pandorafms-base /tmp/pandorafms/tests/test.sh
|
||||||
|
|
||||||
script:
|
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
|
service pandora_agent_daemon start
|
||||||
check "Starting the Pandora FMS Agent" $?
|
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
|
exit 0
|
||||||
|
Loading…
x
Reference in New Issue
Block a user