Skip to content

Commit

Permalink
specific version for pyinstaller only in py2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
xufan6 committed Sep 7, 2020
1 parent 8b22594 commit 9c83096
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 @@ -9,10 +9,12 @@ dist: xenial
# - linux
# - osx

before_install:
- if [ ${TRAVIS_PYTHON_VERSION:0:1} == "2" ]; then export PYINSTALLER='pyinstaller==3.6';else export PYINSTALLER=pyinstaller;fi

# command to install dependencies
install:
- pip install pyinstaller==3.6
- pip install ${PYINSTALLER}

# command to run tests
script:
Expand Down

0 comments on commit 9c83096

Please sign in to comment.