Skip to content

Commit

Permalink
attempt at a smarter way to use travis
Browse files Browse the repository at this point in the history
  • Loading branch information
alafaye committed Jul 6, 2015
1 parent e4ac041 commit d6f8dce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,9 @@ python:
# - "pypy" fails to install numpy

before_install:
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran python-matplotlib
- sudo apt-get install -qq libatlas-dev libatlas-base-dev liblapack-dev gfortran
- if [[ $TRAVIS_PYTHON_VERSION <= '3' ]]; then sudo apt-get install -qq python-matplotlib; fi
- if [[ $TRAVIS_PYTHON_VERSION >= '3' ]]; then pip install matplotlib; fi

install:
# Backport of new unittest features for Python 2.6.
Expand Down

0 comments on commit d6f8dce

Please sign in to comment.