BLD: make the travis build closer to a normal install

This commit is contained in:
Joe Jevnik
2016-01-20 18:14:07 -05:00
parent b16e2a7a07
commit ab573731d9
3 changed files with 7 additions and 7 deletions
+5 -4
View File
@@ -7,7 +7,7 @@ matrix:
include:
- python: 2.7
env: PANDAS_VERSION=0.16.1 NUMPY_VERSION=1.9.2 SCIPY_VERSION=0.15.1
- python: 3.3
- python: 3.4
env: PANDAS_VERSION=0.16.1 NUMPY_VERSION=1.9.2 SCIPY_VERSION=0.15.1
before_install:
@@ -18,12 +18,13 @@ before_install:
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==$SCIPY_VERSION matplotlib Cython patsy statsmodels tornado pyparsing xlrd mock pytz requests six dateutil ta-lib==0.4.8 logbook
- conda install --yes -c quantopian numpy=$NUMPY_VERSION pandas=$PANDAS_VERSION scipy=$SCIPY_VERSION Cython=0.22.1 ta-lib=0.4.8
- conda remove --yes six pytz # remove these packages so our requirements can downgrade them
- pip install --upgrade pip coverage coveralls
- pip install -r etc/requirements.txt
- pip install -r etc/requirements_dev.txt
- pip install -r etc/requirements_blaze.txt
- python setup.py build_ext --inplace
- pip install -r etc/requirements_blaze.txt # this uses git requirements right now
- pip install -e .
before_script:
- pip freeze | sort
- "flake8 zipline tests"
+2 -2
View File
@@ -10,10 +10,10 @@ requirements:
build:
- python
- cython
- numpy
- numpy x.x
run:
- python
- numpy
- numpy x.x
test:
imports:
-1
View File
@@ -249,7 +249,6 @@ setup(
'Natural Language :: English',
'Programming Language :: Python',
'Programming Language :: Python :: 2.7',
'Programming Language :: Python :: 3.3',
'Programming Language :: Python :: 3.4',
'Operating System :: OS Independent',
'Intended Audience :: Science/Research',