mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
Start Xvfb on the Travis CI environment.
This commit is contained in:
parent
2e270c7569
commit
d5a9d916e6
@ -16,6 +16,11 @@ before_install:
|
|||||||
install:
|
install:
|
||||||
- pip install selenium PyVirtualDisplay testtools
|
- pip install selenium PyVirtualDisplay testtools
|
||||||
|
|
||||||
|
before_script:
|
||||||
|
- "export DISPLAY=:99.0"
|
||||||
|
- "sh -e /etc/init.d/xvfb start"
|
||||||
|
- sleep 3 # give xvfb some time to start
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- 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/messages
|
- 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/messages
|
||||||
- docker exec -t pandorafms /tmp/pandorafms/tests/test.sh
|
- docker exec -t pandorafms /tmp/pandorafms/tests/test.sh
|
||||||
|
Loading…
x
Reference in New Issue
Block a user