From d4cf40099f80d11e94ce7637bbbe3dbf6d8bd9d2 Mon Sep 17 00:00:00 2001 From: Eddie Hebert Date: Tue, 31 Mar 2015 12:48:40 -0400 Subject: [PATCH] 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. --- .travis.yml | 22 +++++----------------- 1 file changed, 5 insertions(+), 17 deletions(-) diff --git a/.travis.yml b/.travis.yml index 5455618a..e7564efa 100644 --- a/.travis.yml +++ b/.travis.yml @@ -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