forked from josch/img2pdf
36 lines
1 KiB
YAML
36 lines
1 KiB
YAML
language: python
|
|
matrix:
|
|
include:
|
|
- name: "python 3.7 Xenial"
|
|
dist: xenial
|
|
python: 3.7
|
|
addons:
|
|
apt:
|
|
packages:
|
|
- imagemagick
|
|
- name: "python 3.8 Windows"
|
|
os: windows
|
|
language: shell # 'language: python' is an error on Travis CI Windows
|
|
before_install: choco install python imagemagick
|
|
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
|
|
- 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
|
|
- imagemagick
|
|
before_install:
|
|
- python3 -m pip install --upgrade virtualenv
|
|
- virtualenv -p python3 --system-site-packages "$HOME/venv"
|
|
- source "$HOME/venv/bin/activate"
|
|
install: pip install tox
|
|
script:
|
|
- python --version
|
|
- python -m tox
|