img2pdf/.travis.yml

43 lines
1.2 KiB
YAML
Raw Normal View History

2019-08-25 04:22:10 +00:00
language: python
matrix:
include:
- name: "python 3.7 Xenial"
dist: xenial
python: 3.7
2020-08-03 12:13:45 +00:00
addons:
apt:
packages:
- imagemagick
- libtiff-tools
- libimage-exiftool-perl
- poppler-utils
- netpbm
- ghostscript
- mupdf-tools
2020-02-25 04:12:08 +00:00
- name: "python 3.8 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-02-25 04:12:08 +00:00
env: PATH=/c/Python38:/c/Python38/Scripts:$PATH
2019-08-25 04:22:10 +00:00
- 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
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