Skip to content

TST: exercise pyinstaller in tests #18188

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from
Draft
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -152,6 +152,7 @@ install:
python -c 'import wx' &&
echo 'wxPython is available' ||
echo 'wxPython is not available'
python -m pip install --upgrade pyinstaller

# Set flag in a delayed manner to avoid issues with installing other packages
- |
Expand Down Expand Up @@ -179,6 +180,13 @@ script:
# inkscape and ghostscript are running at the same time).
python -mpytest -raR --maxfail=50 --timeout=300 --durations=25 --cov-report= --cov=lib -n2 --log-level=DEBUG

- |
mkdir pyinstaller_test
cd pyinstaller_test
echo "import matplotlib.pyplot" > main.py
pyinstaller main.py
./dist/main/main

before_cache: |
rm -rf $HOME/.cache/matplotlib/tex.cache
rm -rf $HOME/.cache/matplotlib/test_cache
Expand Down