1
0
Fork 0
forked from josch/plakativ
plakativ/.travis.yml

29 lines
918 B
YAML
Raw Normal View History

2019-06-30 23:39:09 +00:00
language: python
matrix:
include:
- name: "python 3.7 Xenial"
dist: xenial
python: 3.7
- name: "python 3.7 Windows"
os: windows
language: shell # 'language: python' is an error on Travis CI Windows
before_install: choco install python
env: PATH=/c/Python37:/c/Python37/Scripts:$PATH
- 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"
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"
2019-06-30 23:54:08 +00:00
install: pip install wheel PyMuPDF pytest pdfrw
2019-06-30 23:39:09 +00:00
script: pytest test.py