tox.ini 896 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
[tox]
envlist = py27-django{18,111}

[testenv]
whitelist_externals = make
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
    coveralls
    -rrequirements/base.txt
    -rrequirements/test.txt
    django18: django>=1.8,<1.9
    django111: django>=1.11,<2.0
commands =
    make test-python

[testenv:js]
whitelist_externals = make
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
    -rrequirements/base.txt
commands =
    make install-js
    make javascript
    make sass
    make test-js

[testenv:quality]
whitelist_externals =
    make
    npm
passenv = TRAVIS TRAVIS_JOB_ID TRAVIS_BRANCH
deps =
    -rrequirements/base.txt
34
    -rrequirements/django.txt
35 36 37 38 39 40
    -rrequirements/quality.txt
commands =
    npm install jshint --no-save
    npm install jscs --no-save
    make quality
    python manage.py makemessages -l eo
41
    make check_translations_up_to_date
42
    make validate_translations