2019-06-30 23:39:09 +00:00
|
|
|
language: python
|
|
|
|
matrix:
|
|
|
|
include:
|
|
|
|
- name: "python 3.7 Xenial"
|
|
|
|
dist: xenial
|
|
|
|
python: 3.7
|
2019-10-16 11:37:31 +00:00
|
|
|
- name: "python 3.8 Windows"
|
2019-06-30 23:39:09 +00:00
|
|
|
os: windows
|
|
|
|
language: shell # 'language: python' is an error on Travis CI Windows
|
|
|
|
before_install: choco install python
|
2019-10-16 11:37:31 +00:00
|
|
|
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
|
2019-06-30 23:39:09 +00:00
|
|
|
- name: "python 3.7 MacOs"
|
|
|
|
os: osx
|
|
|
|
language: shell # 'language: python' is an error on Travis CI macOS
|
2019-07-01 00:10:56 +00:00
|
|
|
cache:
|
|
|
|
directories:
|
|
|
|
- "$HOME/Library/Caches/Homebrew"
|
|
|
|
- "$HOME/Library/Caches/pip"
|
2019-07-01 07:48:40 +00:00
|
|
|
addons:
|
|
|
|
homebrew:
|
2019-07-01 08:07:48 +00:00
|
|
|
#update: true
|
2019-07-01 07:48:40 +00:00
|
|
|
packages: python3
|
2019-07-01 00:10:56 +00:00
|
|
|
before_install:
|
|
|
|
- python3 -m pip install --upgrade virtualenv
|
|
|
|
- virtualenv -p python3 --system-site-packages "$HOME/venv"
|
|
|
|
- source "$HOME/venv/bin/activate"
|
2019-06-30 23:54:08 +00:00
|
|
|
install: pip install wheel PyMuPDF pytest pdfrw
|
2019-07-01 07:26:36 +00:00
|
|
|
script:
|
2019-07-01 08:13:50 +00:00
|
|
|
- python --version
|
2020-06-09 22:38:06 +00:00
|
|
|
- python -m pytest
|