Fix travis-ci and xvfb
@@ -15,12 +15,13 @@ install:
before_script:
- export DISPLAY=:99.0
- - sh -e /etc/init.d/xvfb start
- "if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then export PYVER=py27; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then export PYVER=py34; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.5' ]]; then export PYVER=py35; fi"
- "if [[ $TRAVIS_PYTHON_VERSION == '3.6' ]]; then export PYVER=py36; fi"
+services:
+ - xvfb
script:
- tox -e"$PYVER-$DJANGO-$CMS"
