Skip to content

Commit

Permalink
Fix travis apt-get command if-else
Browse files Browse the repository at this point in the history
  • Loading branch information
pnuu committed Mar 5, 2016
1 parent 5e01e70 commit c72cba0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ python:
- '3.2'
before_install:
- sudo apt-get update -qq
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]];
then sudo apt-get install python-numpy python-matplotlib python-pythonmagick
- if [[ $TRAVIS_PYTHON_VERSION == "2.7" ]]; then
sudo apt-get install python-numpy python-matplotlib python-pythonmagick
else
sudo apt-get install python3-matplotlib python3-numpy
fi
Expand Down

0 comments on commit c72cba0

Please sign in to comment.