2019-08-25 04:22:10 +00:00
|
|
|
language: python
|
|
|
|
matrix:
|
|
|
|
include:
|
2020-08-04 22:50:45 +00:00
|
|
|
- name: "Ubuntu Focal"
|
|
|
|
dist: focal
|
2020-08-03 12:13:45 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- imagemagick
|
2020-08-03 12:50:38 +00:00
|
|
|
- libtiff-tools
|
|
|
|
- libimage-exiftool-perl
|
|
|
|
- poppler-utils
|
|
|
|
- netpbm
|
|
|
|
- ghostscript
|
2020-08-03 13:06:35 +00:00
|
|
|
- mupdf-tools
|
2020-08-06 22:41:42 +00:00
|
|
|
- icc-profiles-free
|
2020-10-31 07:42:25 +00:00
|
|
|
- name: "python 3.9 Windows"
|
2019-08-25 04:22:10 +00:00
|
|
|
os: windows
|
|
|
|
language: shell # 'language: python' is an error on Travis CI Windows
|
2020-08-03 12:13:45 +00:00
|
|
|
before_install: choco install python imagemagick
|
2020-10-31 07:42:25 +00:00
|
|
|
env: PATH=/c/Python39:/c/Python39/Scripts:$PATH
|
2019-08-25 04:22:10 +00:00
|
|
|
- name: "python 3.7 MacOs"
|
|
|
|
os: osx
|
2021-04-07 06:16:21 +00:00
|
|
|
osx_image: xcode12.2 # pikepdf import fails with earlier versions
|
2019-08-25 04:22:10 +00:00
|
|
|
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
|
2020-08-03 12:13:45 +00:00
|
|
|
packages:
|
|
|
|
- python3
|
|
|
|
- imagemagick
|
2019-08-25 04:22:10 +00:00
|
|
|
before_install:
|
|
|
|
- python3 -m pip install --upgrade virtualenv
|
|
|
|
- virtualenv -p python3 --system-site-packages "$HOME/venv"
|
|
|
|
- source "$HOME/venv/bin/activate"
|
2020-08-03 12:03:00 +00:00
|
|
|
install: pip install tox
|
2019-08-25 04:22:10 +00:00
|
|
|
script:
|
|
|
|
- python --version
|
2020-08-03 12:13:45 +00:00
|
|
|
- python -m tox
|