You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
plakativ/.travis.yml

31 lines
946 B
YAML

5 years ago
language: python
matrix:
include:
- name: "python 3.7 Xenial"
dist: xenial
python: 3.7
- name: "python 3.9 Windows"
5 years ago
os: windows
language: shell # 'language: python' is an error on Travis CI Windows
before_install: choco install python
env: PATH=/c/Python39:/c/Python39/Scripts:$PATH
5 years ago
- 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
before_install:
- python3 -m pip install --upgrade virtualenv
- virtualenv -p python3 --system-site-packages "$HOME/venv"
- source "$HOME/venv/bin/activate"
install: pip install wheel PyMuPDF pytest pdfrw
script:
- python --version
- python -m pytest