mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-16 11:18:11 +08:00
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:
+19
-4
@@ -1,7 +1,22 @@
|
|||||||
language: python
|
language: python
|
||||||
python:
|
matrix:
|
||||||
- "2.7"
|
include:
|
||||||
- "3.3"
|
- 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:
|
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
|
- 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
|
- chmod +x miniconda.sh
|
||||||
@@ -11,7 +26,7 @@ before_install:
|
|||||||
install:
|
install:
|
||||||
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
|
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
|
||||||
- source activate testenv
|
- 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 pyflakes== etc/requirements_dev.txt | xargs pip install
|
||||||
- grep pep8== 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
|
- grep mccabe== etc/requirements_dev.txt | xargs pip install
|
||||||
|
|||||||
Reference in New Issue
Block a user