travis: need to use conda

This commit is contained in:
Paul Müller 2015-04-26 16:35:02 +02:00
parent b34ffd6b24
commit 8831ac3d4f
2 changed files with 9 additions and 3 deletions

View file

@ -6,10 +6,16 @@ branches:
only:
- master
before_install:
# We need to use conda, because virtualenv did not work on travis with 3.4
- sudo apt-get update -qq
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
- wget http://repo.continuum.io/miniconda/Miniconda-latest-Linux-x86_64.sh -O miniconda.sh
- chmod +x miniconda.sh
- ./miniconda.sh -b
- export PATH=/home/travis/miniconda/bin:$PATH
- conda update --yes conda
- travis_retry conda install --yes python=$TRAVIS_PYTHON_VERSION pip numpy scipy
install:
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then sudo apt-get install python-numpy; fi
- if [[ $TRAVIS_PYTHON_VERSION == "3.4" ]]; then sudo apt-get install python3-numpy; fi
- travis_retry python setup.py develop
- python --version
- pip freeze

View file

@ -70,7 +70,7 @@ if __name__ == "__main__":
description=description,
long_description=longdescription,
install_requires=["sqlitedict>=1.2.0", "NumPy>=1.5.1"],
tests_require=["psutil"],
tests_require=["psutil, scipy"],
keywords=["multiprocessing", "queue", "parallel", "distributed", "computing",
"progress", "manager", "job", "persistent data", "scheduler"],
classifiers= [