mirror of
https://github.com/wassname/catalyst.git
synced 2026-08-19 12:00:15 +08:00
Match the revisions found in the dev requirements file, so that the versions used during development and continuous integration. Pegging the versions in two separate places may end being brittle, but suppress the build failure because the unpegged installation of flake8 pulled in newer versions of pyflakes and pep8.
20 lines
1.0 KiB
YAML
20 lines
1.0 KiB
YAML
language: python
|
|
python:
|
|
- "2.7"
|
|
- "3.3"
|
|
before_install:
|
|
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then wget http://repo.continuum.io/miniconda/Miniconda-3.0.0-Linux-x86_64.sh -O miniconda.sh; else wget http://repo.continuum.io/miniconda/Miniconda3-3.0.0-Linux-x86_64.sh -O miniconda.sh; fi
|
|
- chmod +x miniconda.sh
|
|
- ./miniconda.sh -b
|
|
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then export PATH=/home/travis/miniconda/bin:$PATH; else export PATH=/home/travis/miniconda3/bin:$PATH; fi
|
|
- sudo apt-get install gfortran
|
|
install:
|
|
- conda create -n testenv --yes pip python=$TRAVIS_PYTHON_VERSION
|
|
- source activate testenv
|
|
- conda install --yes -c https://conda.binstar.org/twiecki numpy==1.8.0 scipy nose matplotlib pandas Cython patsy statsmodels tornado pyparsing xlrd mock pytz requests six dateutil ta-lib logbook
|
|
- pip install pyflakes==0.7.3 pep8==1.4.6 mccabe==0.2.1 flake8==2.1.0 nose-parameterized==0.3.3 nose-ignore-docstring==0.2
|
|
before_script:
|
|
- "flake8 zipline tests"
|
|
script:
|
|
- nosetests --exclude=^test_examples
|