Skip to content

Commit

Permalink
BLD: Reduce pandas req to at least 0.18.1
Browse files Browse the repository at this point in the history
Also updates .travis.yml to build on pandas 0.18.1, 0.19.2, and 0.20.3.
  • Loading branch information
Andrew Daniels committed Oct 2, 2017
1 parent 0b5a58a commit 3cc1e94
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 6 deletions.
20 changes: 15 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,10 +1,20 @@
language: python
sudo: false

python:
- "2.7"
- "3.5"
- "3.6"
python:
- 2.7
- 3.5
- 3.6

env:
- PANDAS_VERSION=0.18.1
- PANDAS_VERSION=0.19.2
- PANDAS_VERSION=0.20.3

matrix:
exclude:
- python: 3.6
env: PANDAS_VERSION=0.18.1

before_install:
# We do this conditionally because it saves us some downloading if the
Expand All @@ -24,7 +34,7 @@ before_install:
- cp pyfolio/tests/matplotlibrc .

install:
- conda create -q -n testenv --yes python=$TRAVIS_PYTHON_VERSION ipython pyzmq numpy scipy nose matplotlib pandas Cython patsy flake8 seaborn scikit-learn runipy pytables networkx pandas-datareader matplotlib-tests joblib
- conda create -q -n testenv --yes python=$TRAVIS_PYTHON_VERSION ipython pyzmq numpy scipy nose matplotlib pandas=$PANDAS_VERSION Cython patsy flake8 seaborn scikit-learn runipy pytables networkx pandas-datareader matplotlib-tests joblib
- source activate testenv
- pip install nose_parameterized
#- pip install --no-deps git+https://github.com/quantopian/zipline
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
'ipython>=3.2.3' if support_ipython_6 else 'ipython>=3.2.3, <6',
'matplotlib>=1.4.0',
'numpy>=1.9.1',
'pandas>=0.19.0',
'pandas>=0.18.1',
'pytz>=2014.10',
'scipy>=0.14.0',
'scikit-learn>=0.18.2',
Expand Down

0 comments on commit 3cc1e94

Please sign in to comment.