language: python

env:
  - BROWSER=Chrome-stable
  - BROWSER=Chrome-beta
  - BROWSER=Chrome-unstable
  - BROWSER=PhantomJS
  - BROWSER=Firefox

before_install:
  - "export DISPLAY=:99.0"
  - "sh -e /etc/init.d/xvfb start"
  - sleep 3

install:
  - ./.travis-setup.sh

script:
  - python run-tests.py -a -b $(echo $BROWSER | sed -e's/-.*//')

after_failure:
  - for file in *.log; do echo $file; echo "======================"; cat $file; done || true

language: python

env:
  - BROWSER=Chrome-stable
  - BROWSER=Chrome-beta
  - BROWSER=Chrome-unstable
  - BROWSER=PhantomJS
  - BROWSER=Firefox

install:
  - ./.travis-setup.sh

script:
  - python run-tests.py -a -x -b $(echo $BROWSER | sed -e's/-.*//')

after_failure:
  - for file in *.log; do echo $file; echo "======================"; cat $file; done || true

Revert "Trying without pyvirtualdisplay and manual xvfb starting."
Revert "Trying without pyvirtualdisplay and manual xvfb starting."

This reverts commit e00046a3bd0f2f5f70d4e28d8ff71961a90b4184.
