forked from sqlalchemy-redshift/sqlalchemy-redshift
-
Notifications
You must be signed in to change notification settings - Fork 1
/
tox.ini
52 lines (46 loc) · 1.12 KB
/
tox.ini
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
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
[tox]
envlist =
py35-sa13,
py{27,36,37,38,39}-sa{13,14},
lint,
docs
[testenv]
passenv = PGPASSWORD
deps =
sa13: sqlalchemy==1.3.24
sa14: sqlalchemy==1.4.15
[testenv:py{27,35}-sa{13,14}]
commands = pytest -s {posargs} --dbdriver psycopg2 --dbdriver psycopg2cffi
deps =
alembic==1.4.2
packaging==20.4
psycopg2==2.8.6
psycopg2cffi==2.8.1
pytest==3.10.1
requests==2.7.0
[testenv:py{36,37,38,39}-sa{13,14}]
commands = pytest {posargs} --dbdriver psycopg2 --dbdriver psycopg2cffi --dbdriver redshift_connector
deps =
alembic==1.4.2
packaging==20.4
psycopg2==2.8.6
psycopg2cffi==2.8.1
pytest==3.10.1
requests==2.25.0
redshift_connector==2.0.884
requests==2.25.0
[testenv:lint]
deps =
flake8==2.4.0
psycopg2
redshift_connector
commands=flake8 sqlalchemy_redshift tests
[testenv:docs]
changedir=docs
deps=
-rrequirements-docs.txt
commands=
sphinx-build -W -b html -d {envtmpdir}/doctrees . {envtmpdir}/html
[pytest]
addopts = --doctest-modules --doctest-glob='*.rst' --ignore=setup.py --ignore=docs/conf.py
doctest_optionflags = NORMALIZE_WHITESPACE