1
0
Fork 0
forked from josch/plakativ

.travis.yml: test macos support

This commit is contained in:
Johannes 'josch' Schauer 2019-07-01 02:10:56 +02:00
parent 970ebb6659
commit dc717a23ca
Signed by untrusted user: josch
GPG key ID: F2CBA5C78FBD83E1

View file

@ -12,5 +12,17 @@ matrix:
- name: "python 3.7 MacOs" - name: "python 3.7 MacOs"
os: osx os: osx
language: shell # 'language: python' is an error on Travis CI macOS 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 install: pip install wheel PyMuPDF pytest pdfrw
script: pytest test.py script: pytest test.py