forked from dbt-labs/dbt-core
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathtox.ini
95 lines (85 loc) · 3.19 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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
[tox]
skipsdist = True
envlist = unit-py27, unit-py36, integration-postgres-py27, integration-postgres-py36, integration-snowflake-py27, integration-snowflake-py36, pep8, integration-bigquery-py27, integration-bigquery-py36
[testenv:pep8]
basepython = python3.6
commands = /bin/bash -c '$(which pep8) dbt/ --exclude dbt/templates.py'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
[testenv:unit-py27]
basepython = python2.7
commands = /bin/bash -c '$(which nosetests) -v {posargs} test/unit'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
[testenv:unit-py36]
basepython = python3.6
commands = /bin/bash -c '{envpython} $(which nosetests) -v {posargs} test/unit'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
[testenv:integration-postgres-py27]
basepython = python2.7
passenv = *
setenv =
HOME=/root/
commands = /bin/bash -c '{envpython} $(which nosetests) -v -a type=postgres {posargs} --with-coverage --cover-branches --cover-html --cover-html-dir=htmlcov test/integration/*'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
[testenv:integration-snowflake-py27]
basepython = python2.7
passenv = *
setenv =
HOME=/root/
commands = /bin/bash -c '{envpython} $(which nosetests) -v -a type=snowflake {posargs} --with-coverage --cover-branches --cover-html --cover-html-dir=htmlcov test/integration/*'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
[testenv:integration-bigquery-py27]
basepython = python2.7
passenv = *
setenv =
HOME=/root/
commands = /bin/bash -c '{envpython} $(which nosetests) -v -a type=bigquery {posargs} --with-coverage --cover-branches --cover-html --cover-html-dir=htmlcov test/integration/*'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
[testenv:integration-postgres-py36]
basepython = python3.6
passenv = *
setenv =
HOME=/root/
commands = /bin/bash -c '{envpython} $(which nosetests) -v -a type=postgres --with-coverage --cover-branches --cover-html --cover-html-dir=htmlcov {posargs} test/integration/*'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
[testenv:integration-snowflake-py36]
basepython = python3.6
passenv = *
setenv =
HOME=/root/
commands = /bin/bash -c '{envpython} $(which nosetests) -v -a type=snowflake {posargs} --with-coverage --cover-branches --cover-html --cover-html-dir=htmlcov test/integration/*'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
[testenv:integration-bigquery-py36]
basepython = python3.6
passenv = *
setenv =
HOME=/root/
commands = /bin/bash -c '{envpython} $(which nosetests) -v -a type=bigquery {posargs} --with-coverage --cover-branches --cover-html --cover-html-dir=htmlcov test/integration/*'
deps =
-r{toxinidir}/requirements.txt
-r{toxinidir}/dev_requirements.txt
[testenv:pywin]
basepython = {env:PYTHON:}\python.exe
passenv = *
setenv =
DBT_CONFIG_DIR = ~/.dbt
DBT_INVOCATION_ENV = ci-appveyor
commands = nosetests -v --with-coverage --cover-branches --cover-html --cover-html-dir=htmlcov test/integration test/unit
deps =
-rrequirements.txt
-rdev_requirements.txt