.travis.yml: don't use --with-tcl-tk
This commit is contained in:
parent
2580ae23ce
commit
68db923bcf
1 changed files with 6 additions and 5 deletions
11
.travis.yml
11
.travis.yml
|
@ -16,16 +16,17 @@ matrix:
|
||||||
directories:
|
directories:
|
||||||
- "$HOME/Library/Caches/Homebrew"
|
- "$HOME/Library/Caches/Homebrew"
|
||||||
- "$HOME/Library/Caches/pip"
|
- "$HOME/Library/Caches/pip"
|
||||||
|
addons:
|
||||||
|
homebrew:
|
||||||
|
update: true
|
||||||
|
packages: python3
|
||||||
before_install:
|
before_install:
|
||||||
- brew update
|
|
||||||
- brew install tcl-tk
|
|
||||||
- brew install python3 --with-tcl-tk
|
|
||||||
- python3 -m pip install --upgrade virtualenv
|
- python3 -m pip install --upgrade virtualenv
|
||||||
- virtualenv -p python3 --system-site-packages "$HOME/venv"
|
- virtualenv -p python3 --system-site-packages "$HOME/venv"
|
||||||
- source "$HOME/venv/bin/activate"
|
- source "$HOME/venv/bin/activate"
|
||||||
install: pip install wheel PyMuPDF pytest pdfrw
|
install: pip install wheel PyMuPDF pytest pdfrw
|
||||||
script:
|
script:
|
||||||
- python --version
|
|
||||||
- python3 --version
|
- python3 --version
|
||||||
- python -c 'import tkinter'
|
- python3 -c 'import tkinter'
|
||||||
|
- python3 -m pytest test.py
|
||||||
- pytest test.py
|
- pytest test.py
|
||||||
|
|
Loading…
Reference in a new issue