Skip to content

Commit

Permalink
pip install "pyinstaller<4.0"
Browse files Browse the repository at this point in the history
  • Loading branch information
cclauss authored Sep 7, 2020
1 parent 5281360 commit 1d1c137
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
os: linux
dist: focal
language: python

lint_steps: &lint_steps
Expand All @@ -7,7 +8,7 @@ lint_steps: &lint_steps
- pip install flake8
script: flake8 . --count --select=E9,F63,F72,F82 --show-source --statistics

matrix:
jobs:
include:
- name: "Test and deploy on Python 2.7"
python: '2.7'
Expand All @@ -16,17 +17,16 @@ matrix:
language: shell # 'language: python' is not yet supported on Travis CI macOS
before_install:
- python -m pip install --upgrade pip
- pip install pyinstaller<4.0 -r requirements.txt # v4.0 drops support for legacy Python
- pip install "pyinstaller<4.0" -r requirements.txt # v4.0 drops support for legacy Python
script:
- pyinstaller --onefile Mac/laZagne.py
- ls -l dist # See file size (4.8 mb), etc.
- dist/laZagne all
- name: "Lint on Python 2.7"
python: '2.7'
<<: *lint_steps
- name: "Lint on Python 3.7"
python: '3.7'
dist: xenial # required for Python >= 3.7
- name: "Lint on Python 3.8"
python: '3.8'
<<: *lint_steps

before_install:
Expand All @@ -37,7 +37,7 @@ before_install:
- wine msiexec /i python.msi /qn
- wget https://files.pythonhosted.org/packages/83/cc/2e39fa39b804f7b6e768a37657d75eb14cd917d1f43f376dad9f7c366ccf/pywin32-224-cp27-cp27m-win_amd64.whl --output-document=pywin32-224-cp27-none-win_amd64.whl
- wine c:\\Python27\\python.exe -m pip install pywin32-224-cp27-none-win_amd64.whl
- wine c:\\Python27\\python.exe -m pip install pyinstaller<4.0 -r requirements.txt
- wine c:\\Python27\\python.exe -m pip install "pyinstaller<4.0" -r requirements.txt
- wine c:\\Python27\\Scripts\\pyinstaller --noconsole --onefile Windows/lazagne.spec
- ls -l dist # See file size (4.8 mb), etc.
install: true # do not repeat `pip install -r requirements.txt`
Expand Down

0 comments on commit 1d1c137

Please sign in to comment.