mirror of
https://github.com/wassname/catalyst.git
synced 2026-07-18 12:20:12 +08:00
BLD: make the travis build closer to a normal install
This commit is contained in:
+5
-4
@@ -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"
|
||||
|
||||
@@ -10,10 +10,10 @@ requirements:
|
||||
build:
|
||||
- python
|
||||
- cython
|
||||
- numpy
|
||||
- numpy x.x
|
||||
run:
|
||||
- python
|
||||
- numpy
|
||||
- numpy x.x
|
||||
|
||||
test:
|
||||
imports:
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user