2016-01-05 09:39:28 +00:00
|
|
|
language: python
|
|
|
|
sudo: false
|
|
|
|
cache: pip
|
2020-05-08 23:05:35 +00:00
|
|
|
dist: focal
|
2017-05-25 23:55:30 +00:00
|
|
|
git:
|
|
|
|
depth: 100000
|
2016-06-20 14:41:46 +00:00
|
|
|
addons:
|
|
|
|
apt:
|
|
|
|
packages:
|
|
|
|
- graphviz
|
2018-05-14 16:06:31 +00:00
|
|
|
env:
|
|
|
|
global:
|
|
|
|
- ESCPOS_CAPABILITIES_FILE=/home/travis/build/python-escpos/python-escpos/capabilities-data/dist/capabilities.json
|
2016-03-19 11:14:37 +00:00
|
|
|
matrix:
|
2019-06-16 00:47:46 +00:00
|
|
|
fast_finish: true
|
2016-03-19 11:14:37 +00:00
|
|
|
include:
|
2019-06-16 00:03:53 +00:00
|
|
|
- name: "Python 3.7 on Windows"
|
|
|
|
os: windows
|
|
|
|
language: shell
|
|
|
|
before_install:
|
|
|
|
- choco install python
|
|
|
|
- pip install tox codecov 'sphinx>=1.5.1'
|
2019-06-16 00:27:32 +00:00
|
|
|
env:
|
|
|
|
- TOXENV=py37
|
|
|
|
- PATH=/c/Python37:/c/Python37/Scripts:$PATH
|
|
|
|
- ESCPOS_CAPABILITIES_FILE=C:/Users/travis/build/python-escpos/python-escpos/capabilities-data/dist/capabilities.json
|
2019-06-16 01:01:36 +00:00
|
|
|
- name: "Python 3.7 on macOS"
|
|
|
|
os: osx
|
|
|
|
osx_image: xcode10.2
|
|
|
|
language: shell
|
2019-06-16 01:05:42 +00:00
|
|
|
env: TOXENV=py37 ESCPOS_CAPABILITIES_FILE=/Users/travis/build/python-escpos/python-escpos/capabilities-data/dist/capabilities.json
|
2016-03-19 11:26:29 +00:00
|
|
|
- python: 3.5
|
|
|
|
env: TOXENV=py35
|
2017-01-31 02:29:14 +00:00
|
|
|
- python: 3.6
|
|
|
|
env: TOXENV=py36
|
2019-06-10 22:24:09 +00:00
|
|
|
- python: 3.7
|
|
|
|
env: TOXENV=py37
|
2018-05-14 16:06:31 +00:00
|
|
|
- python: 3.7-dev
|
|
|
|
env: TOXENV=py37
|
2020-05-08 21:53:35 +00:00
|
|
|
- python: 3.8
|
|
|
|
env: TOXENV=py38
|
2019-06-10 22:24:09 +00:00
|
|
|
- python: 3.8-dev
|
|
|
|
env: TOXENV=py38
|
2017-01-31 00:33:28 +00:00
|
|
|
- python: nightly
|
2019-06-10 22:24:09 +00:00
|
|
|
env: TOXENV=py38
|
2016-03-19 11:26:29 +00:00
|
|
|
- python: pypy
|
|
|
|
env: TOXENV=pypy
|
|
|
|
- python: pypy3
|
|
|
|
env: TOXENV=pypy3
|
2020-05-08 21:53:35 +00:00
|
|
|
- python: 3.8
|
2016-06-20 14:41:46 +00:00
|
|
|
env: TOXENV=docs
|
2020-05-08 21:53:35 +00:00
|
|
|
- python: 3.8
|
2017-01-30 02:01:32 +00:00
|
|
|
env: TOXENV=flake8
|
2016-03-19 11:26:29 +00:00
|
|
|
allow_failures:
|
2018-05-14 16:06:31 +00:00
|
|
|
- python: 3.7-dev
|
2019-06-10 22:24:09 +00:00
|
|
|
- python: 3.8-dev
|
2016-03-19 11:26:29 +00:00
|
|
|
- python: nightly
|
2016-07-23 23:53:37 +00:00
|
|
|
- python: pypy3
|
2019-06-16 01:08:19 +00:00
|
|
|
- os: windows
|
|
|
|
- os: osx
|
2016-01-05 09:39:28 +00:00
|
|
|
before_install:
|
2017-01-06 15:54:36 +00:00
|
|
|
- pip install tox codecov 'sphinx>=1.5.1'
|
2017-05-25 23:55:30 +00:00
|
|
|
- ./doc/generate_authors.sh --check
|
2016-01-05 09:39:28 +00:00
|
|
|
script:
|
2016-03-19 11:14:37 +00:00
|
|
|
- tox
|
2016-03-21 19:23:46 +00:00
|
|
|
- codecov
|
2016-08-02 14:41:47 +00:00
|
|
|
notifications:
|
|
|
|
email:
|
|
|
|
on_success: never
|
|
|
|
on_failure: change
|
2017-02-05 10:01:33 +00:00
|
|
|
deploy:
|
|
|
|
# Github deployment
|
|
|
|
- provider: releases
|
|
|
|
api_key:
|
|
|
|
secure: oiR3r5AIx9ENIRtbUKIxorRx8GMv4BxgVIZcieXbgSTN4DBZdRWdzs1Xxngu/90Xf79G0X+XGxZyXrYN7eFFNp0kUYj8kwZ1aS/dyR88scskumERWi1Hv5WUJrYGrDe7PcjNGsJ2jw0nNnRPKG87Y84aR4lQygyGBSlDcdrOBnBv0sHYJMxRvHSRkGgWpur06QIOGOk4oOipTXR/7E9cg3YQC5nvZAf2QiprwTa8IcOSFlZQPykEVRYSiAgXrgqBYcZzpX0hAGuIBv7DmPI2ORTF+t79Wbhxhnho3gGJleDv7Z96//sf1vQNCG6qOgeIc9ZY08Jm1AwXQoW0p6F1/XcEPxeyPDkXJzlojE9rjYNLCPL4gxb/LESEuUafm0U4JGMsZ6hnsBOw583yTuAdfQuJ9M+QaSyem6OVNkky3+DKAD3z0WJnl9jmGXIXigNSIxD25XhpvY+j9P0XTLBG1GT2Q+wXCIjSYJc2XnYcdgVJcLoxSWk1fKj/KPi7buAWtqwnL3tjeldpMMOZMliPUTWMM14zoGskHztt0JCkAtcotm9AQtvL8eZ2LHLDK/jyLzjv0wAwU5vzSVp14XHLZl7Q0AIoNc20p1EYGa9C/gSPd9CkrWZoG4lMOiAu3tp2PRLVrdXH3ZWSPQq4Ek5MczrUTkmB82XErNbOa8QB1Dw=
|
|
|
|
file: .tox/dist/python-escpos*.zip
|
|
|
|
file_glob: true
|
|
|
|
skip_cleanup: true
|
|
|
|
on:
|
|
|
|
tags: true
|
|
|
|
repo: python-escpos/python-escpos
|
|
|
|
branch: master
|
2020-05-08 21:53:35 +00:00
|
|
|
condition: $TRAVIS_PYTHON_VERSION = "3.8"
|