Configure travis to execute selenium tests

This commit is contained in:
Francisco de la Vega 2017-12-22 15:06:10 +01:00
parent 19894497b2
commit 76b5bb82d9
1 changed files with 6 additions and 1 deletions

View File

@ -3,13 +3,18 @@ language: python
python: python:
- "2.7" - "2.7"
env: env:
- CKANVERSION=2.6.4 POSTGISVERSION=2
- CKANVERSION=2.7.2 POSTGISVERSION=2 - CKANVERSION=2.7.2 POSTGISVERSION=2
services: services:
- redis-server - redis-server
- postgresql - postgresql
addons:
firefox: "46.0"
install: install:
- bash bin/travis-build.bash - bash bin/travis-build.bash
before_script:
- "export DISPLAY=:99.0"
- "sh -e /etc/init.d/xvfb start"
- sleep 3 # give xvfb some time to start
script: script:
- sh bin/travis-run.sh - sh bin/travis-run.sh
after_success: coveralls after_success: coveralls