Skip to content

Commit

Permalink
Python 2.6 compatible major version number identification
Browse files Browse the repository at this point in the history
  • Loading branch information
bittner committed Sep 17, 2018
1 parent 994f0bf commit f21b2df
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ jobs:

before_install:
- sudo apt-get update
- PYTHON_MAJOR=$(python -c 'import sys; print(sys.version_info.major)')
- PYTHON_MAJOR=$(python -c 'import sys; print(sys.version[0])')
- if [ $PYTHON_MAJOR = '2' ]; then sudo apt-get install -y python-wxgtk2.8; fi
# - if [ $PYTHON_MAJOR = '3' ]; then sudo apt-get install -y python3-wxgtk4.0; fi
- dpkg -l *wxgtk*
Expand Down

0 comments on commit f21b2df

Please sign in to comment.