From b2ed1768278527a88af0458c70c09d9c0aad295f Mon Sep 17 00:00:00 2001 From: paulmueller Date: Tue, 12 May 2015 11:00:12 +0200 Subject: [PATCH] travis: system-site-packages --- .travis.yml | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/.travis.yml b/.travis.yml index 849e000..ce6f276 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,14 +1,14 @@ language: python python: - "3.4" +virtualenv: + system_site_packages: true before_install: -# We need to use conda, because virtualenv did not work on travis with 3.4 - sudo apt-get update -qq +- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then sudo apt-get -y install python-numpy python-scipy python-psutil; fi +- if [[ $TRAVIS_PYTHON_VERSION == "3.4" ]]; then sudo apt-get -y install python3-numpy python3-scipy python-psutil; fi install: -- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then sudo apt-get -y install python-numpy python-scipy; fi -- if [[ $TRAVIS_PYTHON_VERSION == "3.4" ]]; then sudo apt-get -y install python3-numpy python3-scipy; fi - pip install sqlitedict -- pip install psutil - pip freeze script: - travis_wait python setup.py test