From 724192bcfa0f4d436303ce6b5c4897d65cb007a9 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Sat, 2 Jun 2012 23:00:06 -0700 Subject: [PATCH 1/2] Add support for tox (http://tox.testrun.org/) --- .gitignore | 3 ++- tox.ini | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 1 deletion(-) create mode 100644 tox.ini diff --git a/.gitignore b/.gitignore index f5fda916535f6..7e18f982a1a05 100644 --- a/.gitignore +++ b/.gitignore @@ -20,4 +20,5 @@ doc/source/vbench.rst scikits .coverage pandas.egg-info -*\#*\# \ No newline at end of file +*\#*\# +.tox diff --git a/tox.ini b/tox.ini new file mode 100644 index 0000000000000..bc05fd44fd252 --- /dev/null +++ b/tox.ini @@ -0,0 +1,17 @@ +# Tox (http://tox.testrun.org/) is a tool for running tests +# in multiple virtualenvs. This configuration file will run the +# test suite on all supported python versions. To use it, "pip install tox" +# and then run "tox" from this directory. + +[tox] +envlist = py25, py26, py27, py31, py32 + +[testenv] +commands = + {envpython} setup.py clean + {envpython} setup.py build_ext --inplace + nosetests pandas +deps = + cython + numpy >= 1.6.1 + nose From 6f7755cad93360738848dd1c1938ed0693c76ec3 Mon Sep 17 00:00:00 2001 From: Marc Abramowitz Date: Sat, 2 Jun 2012 23:05:34 -0700 Subject: [PATCH 2/2] Add .travis.yml for Travis CI (http://travis-ci.org/) --- .travis.yml | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000000000..4e6f78b5fc884 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,16 @@ +language: python + +python: + - 2.5 + - 2.6 + - 2.7 + - 3.2 + +install: + - "if [[ $TRAVIS_PYTHON_VERSION == '2.5' ]]; then pip install --use-mirrors simplejson; fi" + - pip install --use-mirrors cython numpy nose + +script: + - python setup.py build_ext --inplace + - python setup.py install + - nosetests pandas