Merge pull request #486 from dalejung/test_matrix

Update test matrix to test both pandas 0.12.0 and 0.15.2
This commit is contained in:
Thomas Wiecki
2015-02-13 22:23:25 +01:00
+19 -4
View File
@@ -1,7 +1,22 @@
language: python
python:
- "2.7"
- "3.3"
matrix:
include:
- python: 2.7
env:
- PANDAS_VERSION=0.12.0
- NUMPY_VERSION=1.8.0
- python: 2.7
env:
- PANDAS_VERSION=0.13.1
- NUMPY_VERSION=1.8.0
- python: 2.7
env:
- PANDAS_VERSION=0.14.1
- NUMPY_VERSION=1.8.0
- python: 3.3
env:
- PANDAS_VERSION=0.15.2
- NUMPY_VERSION=1.9.0
before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-3.7.0-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.7.0-Linux-x86_64.sh -O miniconda.sh; fi
- chmod +x miniconda.sh
@@ -11,7 +26,7 @@ before_install:
install:
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
- source activate testenv
- conda install --yes -c https://conda.binstar.org/twiecki numpy=1.9.0 scipy nose matplotlib pandas Cython patsy statsmodels tornado pyparsing xlrd mock pytz requests six dateutil ta-lib logbook
- conda install --yes -c https://conda.binstar.org/Quantopian numpy=$NUMPY_VERSION pandas=$PANDAS_VERSION scipy nose matplotlib Cython patsy statsmodels tornado pyparsing xlrd mock pytz requests six dateutil ta-lib logbook
- grep pyflakes== etc/requirements_dev.txt | xargs pip install
- grep pep8== etc/requirements_dev.txt | xargs pip install
- grep mccabe== etc/requirements_dev.txt | xargs pip install