From e5cc5d002ff1564b47a04628ba19b03771d40093 Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Mon, 1 Jul 2019 09:26:36 +0200 Subject: [PATCH] .travis.yml: install python3 with tk --- .travis.yml | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/.travis.yml b/.travis.yml index 6d6eefd..34588bb 100644 --- a/.travis.yml +++ b/.travis.yml @@ -16,13 +16,16 @@ matrix: directories: - "$HOME/Library/Caches/Homebrew" - "$HOME/Library/Caches/pip" - addons: - homebrew: - update: true - packages: python3 before_install: + - brew tap homebrew/dupes + - brew install tcl-tk + - brew install python3 --with-tcl-tk - python3 -m pip install --upgrade virtualenv - virtualenv -p python3 --system-site-packages "$HOME/venv" - source "$HOME/venv/bin/activate" install: pip install wheel PyMuPDF pytest pdfrw -script: pytest test.py +script: + - python --version + - python3 --version + - python -c 'import tkinter' + - pytest test.py