[tox]
envlist = {py27}-{cdh,hdp}

[testenv]
usedevelop = True
deps = -rrequirements.txt
basepython =
  py27: python2.7
setenv =
  cdh: HADOOP_DISTRO=cdh
  cdh: HADOOP_HOME=/tmp/hadoop-cdh
  hdp: HADOOP_DISTRO=hdp
  hdp: HADOOP_HOME=/tmp/hadoop-hdp
passenv = USER JAVA_HOME
commands =
  {toxinidir}/scripts/ci/setup_env.sh
  {toxinidir}/scripts/ci/run_tests.sh []

[tox]
envlist = {py27}-{cdh,hdp}

[testenv]
usedevelop = True
#deps = -rrequirements.txt
basepython =
  py27: python2.7
setenv =
  cdh: HADOOP_DISTRO=cdh
  cdh: HADOOP_HOME=/tmp/hadoop-cdh
  hdp: HADOOP_DISTRO=hdp
  hdp: HADOOP_HOME=/tmp/hadoop-hdp
passenv = USER JAVA_HOME
commands =
  python {toxinidir}/setup.py install
  {toxinidir}/scripts/ci/setup_env.sh
  {toxinidir}/scripts/ci/run_tests.sh []

Use python setup instead of dependencies to make sure build can run without timeout
Use python setup instead of dependencies to make sure build can run without timeout
