This repository was archived by the owner on Apr 19, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 217
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* update tox from 1.7.2 to 1.8.0 * small style change - add spaces around = in tox.ini * rewrite tox.ini with support for multi dimension environment specification - less repetition Closes #83
- Loading branch information
Rafal Wojdyla
committed
Oct 5, 2014
1 parent
b687347
commit 50a63f1
Showing
2 changed files
with
13 additions
and
29 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,6 +3,6 @@ nose | |
unittest2 | ||
mock | ||
virtualenv>=1.11.2 | ||
tox>=1.7.2 | ||
tox>=1.8.0 | ||
sphinx | ||
fig |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,33 +1,17 @@ | ||
[tox] | ||
envlist = py26-cdh,py27-cdh,py26-hdp,py27-hdp | ||
envlist = {py26,py27}-{cdh,hdp} | ||
|
||
[testenv] | ||
usedevelop=True | ||
usedevelop = True | ||
deps = -rrequirements-dev.txt | ||
basepython = | ||
py26: python2.6 | ||
py27: python2.7 | ||
setenv = | ||
cdh: HADOOP_DISTRO=cdh | ||
cdh: HADOOP_HOME=/tmp/hadoop-cdh | ||
hdp: HADOOP_DISTRO=hdp | ||
hdp: HADOOP_HOME=/tmp/hadoop-hdp | ||
commands = | ||
{toxinidir}/scripts/ci/setup_env.sh | ||
{toxinidir}/scripts/ci/run_tests.sh [] | ||
|
||
[testenv:py26-cdh] | ||
basepython=python2.6 | ||
setenv= | ||
HADOOP_DISTRO=cdh | ||
HADOOP_HOME=/tmp/hadoop-cdh | ||
|
||
[testenv:py26-hdp] | ||
basepython=python2.6 | ||
setenv= | ||
HADOOP_DISTRO=hdp | ||
HADOOP_HOME=/tmp/hadoop-hdp | ||
|
||
[testenv:py27-cdh] | ||
basepython=python2.7 | ||
setenv= | ||
HADOOP_DISTRO=cdh | ||
HADOOP_HOME=/tmp/hadoop-cdh | ||
|
||
[testenv:py27-hdp] | ||
basepython=python2.7 | ||
setenv= | ||
HADOOP_DISTRO=hdp | ||
HADOOP_HOME=/tmp/hadoop-hdp | ||
{toxinidir}/scripts/ci/setup_env.sh | ||
{toxinidir}/scripts/ci/run_tests.sh [] |