BLD: Reduce the number of Travis build permutations.

Now that the pandas and numpy upgrade is complete, no longer need to
test for forwards and backwards compatibility.

Also, now that Cython is part of the build, the existence of Cython can
be assumed for building cyordereddict.
This commit is contained in:
Eddie Hebert
2015-03-31 12:48:40 -04:00
parent 314b22656f
commit d4cf40099f
+5 -17
View File
@@ -3,24 +3,12 @@ matrix:
include:
- python: 2.7
env:
- PANDAS_VERSION=0.12.0
- NUMPY_VERSION=1.8.0
- USE_CYORDEREDDICT=no
- python: 2.7
env:
- PANDAS_VERSION=0.13.1
- NUMPY_VERSION=1.8.0
- USE_CYORDEREDDICT=no
- python: 2.7
env:
- PANDAS_VERSION=0.14.1
- NUMPY_VERSION=1.8.0
- USE_CYORDEREDDICT=yes
- PANDAS_VERSION=0.16.0
- NUMPY_VERSION=1.9.2
- python: 3.3
env:
- PANDAS_VERSION=0.15.2
- NUMPY_VERSION=1.9.0
- USE_CYORDEREDDICT=yes
- PANDAS_VERSION=0.16.0
- NUMPY_VERSION=1.9.2
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
@@ -31,7 +19,7 @@ install:
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
- source activate testenv
- conda install --yes -c https://conda.binstar.org/Quantopian numpy=$NUMPY_VERSION pandas=$PANDAS_VERSION scipy matplotlib Cython patsy statsmodels tornado pyparsing xlrd mock pytz requests six dateutil ta-lib logbook
- if [[ "$USE_CYORDEREDDICT" == "yes" ]]; then pip install cyordereddict; fi
- grep cyordereddict== etc/requirements.txt | xargs pip install
- 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