forked from josch/img2pdf
add .travis.yml
This commit is contained in:
parent
c17fd0011d
commit
f1e1dab850
1 changed files with 30 additions and 0 deletions
30
.travis.yml
Normal file
30
.travis.yml
Normal file
|
@ -0,0 +1,30 @@
|
||||||
|
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
|
||||||
|
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 pillow pytest pdfrw
|
||||||
|
script:
|
||||||
|
- python --version
|
||||||
|
- python setup.py test
|
Loading…
Reference in a new issue