pandorafms/.travis.yml

29 lines
512 B
YAML

sudo: required
language: python
python:
- 2.7
addons:
firefox: "latest"
services:
- docker
before_install:
- sudo apt-get install xvfb
install:
- docker run --rm -t -v "$TRAVIS_BUILD_DIR:/tmp/pandorafms" -p 80:80 pandorafms/pandorafms-base /tmp/pandorafms/tests/test.sh
- pip install selenium PyVirtualDisplay
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 4 # give xvfb some time to start
script:
- python $TRAVIS_BUILD_DIR/tests/console/PAN1.py