From dc717a23cab99a1e280b9fde10d53b124d4ec22b Mon Sep 17 00:00:00 2001 From: Johannes 'josch' Schauer Date: Mon, 1 Jul 2019 02:10:56 +0200 Subject: [PATCH] .travis.yml: test macos support --- .travis.yml | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/.travis.yml b/.travis.yml index 2776150..6d6eefd 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,5 +12,17 @@ matrix: - name: "python 3.7 MacOs" os: osx language: shell # 'language: python' is an error on Travis CI macOS + cache: + directories: + - "$HOME/Library/Caches/Homebrew" + - "$HOME/Library/Caches/pip" + addons: + homebrew: + update: true + packages: python3 + before_install: + - 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