Skip to content

Instantly share code, notes, and snippets.

@groovecoder
Created November 3, 2014 23:02
Show Gist options
  • Save groovecoder/ec728fea6ac2cbb1081c to your computer and use it in GitHub Desktop.
Save groovecoder/ec728fea6ac2cbb1081c to your computer and use it in GitHub Desktop.
tox.ini
[tox]
envlist = py26, flake8
[testenv]
commands = python manage.py test --noinput -v2 access actioncounters authkeys contentflagging devmo kpi kuma landing sumo
[testenv:py26]
basepython = 2.6
[testenv:flake8]
deps=flake8
commands=
flake8 .
[flake8]
exclude = vendor, migrations
.travis.yml
env:
- TOX_ENV=py26 FORCE_DB=1 PYTHONPATH=. DJANGO_SETTINGS_MODULE=settings_travis DEBIAN_FRONTEND=noninteractive
install:
- pip install tox
script:
- tox -e $TOX_ENV
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment