diff --git a/run_unit_tests.sh b/run_unit_tests.sh index b3ee0745b6baf..d53842c855db1 100755 --- a/run_unit_tests.sh +++ b/run_unit_tests.sh @@ -46,6 +46,8 @@ if [ "${TRAVIS}" ]; then --cover-package=airflow \ --cover-html-dir=airflow/www/static/coverage \ --with-ignore-docstrings \ + --rednose \ + --with-timer \ -v \ --logging-level=DEBUG " fi @@ -68,6 +70,8 @@ else --cover-package=airflow \ --cover-html-dir=airflow/www/static/coverage \ --with-ignore-docstrings \ + --rednose \ + --with-timer \ -s \ -v \ --logging-level=DEBUG " diff --git a/scripts/ci/requirements.txt b/scripts/ci/requirements.txt index d969572ac0882..3e307f729be12 100644 --- a/scripts/ci/requirements.txt +++ b/scripts/ci/requirements.txt @@ -39,6 +39,7 @@ nose nose-exclude nose-ignore-docstring==0.2 nose-parameterized +nose-timer pandas psutil>=4.2.0, <5.0.0 psycopg2 @@ -51,6 +52,7 @@ PySmbClient python-daemon python-dateutil redis +rednose requests requests-kerberos setproctitle diff --git a/setup.py b/setup.py index 1e8f27e56f1d7..87808d6a6de90 100644 --- a/setup.py +++ b/setup.py @@ -180,6 +180,8 @@ def write_version(filename=os.path.join(*['airflow', 'nose', 'nose-ignore-docstring==0.2', 'nose-parameterized', + 'nose-timer', + 'rednose' ] devel_minreq = devel + mysql + doc + password + s3 + cgroups devel_hadoop = devel_minreq + hive + hdfs + webhdfs + kerberos