forked from Stanford-Online/xblock-image-modal
-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
build: Drop building with python 3.8
- Loading branch information
Showing
3 changed files
with
20 additions
and
20 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,63 +1,63 @@ | ||
[tox] | ||
envlist = csslint,eslint,py{38, 311}-django{42},quality | ||
envlist = csslint,eslint,py{311,312}-django{42},quality | ||
|
||
[testenv] | ||
deps = | ||
deps = | ||
django42: Django>=4.2,<4.3 | ||
-rrequirements/test.txt | ||
commands = | ||
commands = | ||
coverage run manage.py test | ||
coverage report | ||
coverage html | ||
|
||
[testenv:clean] | ||
commands = | ||
commands = | ||
coverage erase | ||
deps = | ||
deps = | ||
-rrequirements/test.txt | ||
skip_install = True | ||
|
||
[testenv:csslint] | ||
allowlist_externals = | ||
allowlist_externals = | ||
make | ||
{toxinidir}/node_modules/csslint/dist/cli.js | ||
passenv = | ||
passenv = | ||
TRAVIS | ||
TRAVIS_JOB_ID | ||
TRAVIS_BRANCH | ||
commands = | ||
commands = | ||
make requirements_js | ||
{toxinidir}/node_modules/csslint/dist/cli.js imagemodal/public/ | ||
deps = | ||
deps = | ||
skip_install = True | ||
|
||
[testenv:eslint] | ||
allowlist_externals = | ||
allowlist_externals = | ||
make | ||
{toxinidir}/node_modules/eslint/bin/eslint.js | ||
passenv = | ||
passenv = | ||
TRAVIS | ||
TRAVIS_JOB_ID | ||
TRAVIS_BRANCH | ||
commands = | ||
commands = | ||
make requirements_js | ||
{toxinidir}/node_modules/eslint/bin/eslint.js --fix imagemodal/public/view.js | ||
deps = | ||
deps = | ||
skip_install = True | ||
|
||
[testenv:quality] | ||
passenv = | ||
passenv = | ||
TRAVIS | ||
TRAVIS_JOB_ID | ||
TRAVIS_BRANCH | ||
deps = | ||
deps = | ||
-rrequirements/quality.txt | ||
commands = | ||
commands = | ||
pycodestyle imagemodal/ --max-line-length=120 | ||
pylint imagemodal/ | ||
|
||
[testenv:transifex] | ||
deps = | ||
deps = | ||
transifex-client | ||
commands = | ||
commands = | ||
tx push -s |