Skip to content

Commit

Permalink
Pick right xvfwrapper
Browse files Browse the repository at this point in the history
  • Loading branch information
yakky committed Feb 9, 2016
1 parent 7b2d513 commit 18e46c7
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .travis.yml
Expand Up @@ -43,10 +43,11 @@ before_install:
- "sh -e /etc/init.d/xvfb start"

install:
- pip install -q -r "test_requirements/django-$DJANGO.txt" xvfbwrapper
- if [ $DATABASE_URL == 'postgres://postgres@127.0.0.1/djangocms_test' ]; then pip
- pip install -q -r "test_requirements/django-$DJANGO.txt"
- if [[ $TRAVIS_PYTHON_VERSION == '2.6' ]]; then pip install -q 'xvfbwrapper<2.8'; else pip install -q 'xvfbwrapper'; fi
- if [[ $DATABASE_URL == 'postgres://postgres@127.0.0.1/djangocms_test' ]]; then pip
install -q psycopg2 ; fi
- if [ $DATABASE_URL == 'mysql://root@127.0.0.1/djangocms_test' ]; then pip install
- if [[ $DATABASE_URL == 'mysql://root@127.0.0.1/djangocms_test' ]]; then pip install
-q mysqlclient ; fi

script: coverage run --rcfile=.coverage.rc develop.py test --migrate --xvfb
Expand Down

0 comments on commit 18e46c7

Please sign in to comment.