18
18
19
19
[tox]
20
20
envlist = flake8,{py27,py35}-backend_{mysql,sqlite,postgres}
21
- skipsdist = True
21
+ skipsdist = True
22
22
23
23
[global]
24
24
wheel_dir = {homedir}/.wheelhouse
@@ -36,19 +36,19 @@ deps =
36
36
coveralls
37
37
38
38
basepython =
39
- py27: python2.7
40
- py35: python3.5
39
+ py27: python2.7
40
+ py35: python3.5
41
41
42
42
setenv =
43
- HADOOP_DISTRO = cdh
44
- HADOOP_HOME = /tmp/hadoop-cdh
45
- HADOOP_OPTS = -D/tmp/krb5.conf
46
- MINICLUSTER_HOME = /tmp/minicluster-1.1-SNAPSHOT
47
- HIVE_HOME = /tmp/hive
48
- backend_mysql: AIRFLOW__CORE__SQL_ALCHEMY_CONN = mysql://root@localhost/airflow
49
- backend_postgres: AIRFLOW__CORE__SQL_ALCHEMY_CONN = postgresql+psycopg2://postgres@localhost/airflow
50
- backend_sqlite: AIRFLOW__CORE__SQL_ALCHEMY_CONN = sqlite:///{homedir}/airflow/airflow.db
51
- backend_sqlite: AIRFLOW__CORE__EXECUTOR = SequentialExecutor
43
+ HADOOP_DISTRO = cdh
44
+ HADOOP_HOME = /tmp/hadoop-cdh
45
+ HADOOP_OPTS = -D/tmp/krb5.conf
46
+ MINICLUSTER_HOME = /tmp/minicluster-1.1-SNAPSHOT
47
+ HIVE_HOME = /tmp/hive
48
+ backend_mysql: AIRFLOW__CORE__SQL_ALCHEMY_CONN = mysql://root@localhost/airflow
49
+ backend_postgres: AIRFLOW__CORE__SQL_ALCHEMY_CONN = postgresql+psycopg2://postgres@localhost/airflow
50
+ backend_sqlite: AIRFLOW__CORE__SQL_ALCHEMY_CONN = sqlite:///{homedir}/airflow/airflow.db
51
+ backend_sqlite: AIRFLOW__CORE__EXECUTOR = SequentialExecutor
52
52
53
53
passenv =
54
54
HOME
@@ -67,15 +67,15 @@ passenv =
67
67
SLUGIFY_USES_TEXT_UNIDECODE
68
68
69
69
commands =
70
- pip wheel -w {homedir}/.wheelhouse -f {homedir}/.wheelhouse -e .[devel_ci]
71
- pip install --find-links ={homedir}/.wheelhouse --no-index -e .[devel_ci]
72
- sudo {toxinidir}/scripts/ci/setup_kdc.sh
73
- {toxinidir}/scripts/ci/setup_env.sh
74
- {toxinidir}/scripts/ci/ldap.sh
75
- {toxinidir}/scripts/ci/load_fixtures.sh
76
- {toxinidir}/scripts/ci/load_data.sh
77
- {toxinidir}/scripts/ci/run_tests.sh []
78
- {toxinidir}/scripts/ci/check-license.sh
70
+ pip wheel -w {homedir}/.wheelhouse -f {homedir}/.wheelhouse -e .[devel_ci]
71
+ pip install --find-links ={homedir}/.wheelhouse --no-index -e .[devel_ci]
72
+ sudo {toxinidir}/scripts/ci/setup_kdc.sh
73
+ {toxinidir}/scripts/ci/setup_env.sh
74
+ {toxinidir}/scripts/ci/ldap.sh
75
+ {toxinidir}/scripts/ci/load_fixtures.sh
76
+ {toxinidir}/scripts/ci/load_data.sh
77
+ {toxinidir}/scripts/ci/run_tests.sh []
78
+ {toxinidir}/scripts/ci/check-license.sh
79
79
80
80
[testenv:flake8]
81
81
basepython = python3
85
85
86
86
commands =
87
87
{toxinidir}/scripts/ci/flake8_diff.sh
88
-
0 commit comments