From 2d0f0454576fc470bed08b3d8dea8b16d9ee150d Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sun, 16 Jun 2019 02:03:53 +0200 Subject: [PATCH 1/6] add first draft of Windows conf for #108 --- .travis.yml | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/.travis.yml b/.travis.yml index 815eb23..b4c6c16 100644 --- a/.travis.yml +++ b/.travis.yml @@ -13,6 +13,13 @@ env: - ESCPOS_CAPABILITIES_FILE=/home/travis/build/python-escpos/python-escpos/capabilities-data/dist/capabilities.json matrix: include: + - name: "Python 3.7 on Windows" + os: windows + language: shell + before_install: + - choco install python + - pip install tox codecov 'sphinx>=1.5.1' + env: TOXENV=py37 PATH=/c/Python37:/c/Python37/Scripts:$PATH - python: 2.7 env: TOXENV=py27 - python: 3.4 From a6f635c0d5a9671376c95ee6e252c76f64527f79 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sun, 16 Jun 2019 02:27:32 +0200 Subject: [PATCH 2/6] fix capabilities file --- .travis.yml | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index b4c6c16..54dd149 100644 --- a/.travis.yml +++ b/.travis.yml @@ -19,7 +19,10 @@ matrix: before_install: - choco install python - pip install tox codecov 'sphinx>=1.5.1' - env: TOXENV=py37 PATH=/c/Python37:/c/Python37/Scripts:$PATH + 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 - python: 2.7 env: TOXENV=py27 - python: 3.4 From 2d7458fa491c9aeb0e81c562e42765608c786151 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sun, 16 Jun 2019 02:47:46 +0200 Subject: [PATCH 3/6] activate fast_finish --- .travis.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.travis.yml b/.travis.yml index 54dd149..0aabbb0 100644 --- a/.travis.yml +++ b/.travis.yml @@ -12,6 +12,7 @@ env: global: - ESCPOS_CAPABILITIES_FILE=/home/travis/build/python-escpos/python-escpos/capabilities-data/dist/capabilities.json matrix: + fast_finish: true include: - name: "Python 3.7 on Windows" os: windows @@ -50,11 +51,13 @@ matrix: - python: 3.7 env: TOXENV=flake8 allow_failures: + - python: 2.7 - python: 3.6-dev - python: 3.7-dev - python: 3.8-dev - python: nightly - python: pypy3 + - os: windows before_install: - pip install tox codecov 'sphinx>=1.5.1' - ./doc/generate_authors.sh --check From e50e295acccf5d9186b5e196f9df44c242519546 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sun, 16 Jun 2019 03:01:36 +0200 Subject: [PATCH 4/6] add osx --- .travis.yml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 0aabbb0..fcf5088 100644 --- a/.travis.yml +++ b/.travis.yml @@ -24,6 +24,10 @@ matrix: - 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 + - name: "Python 3.7 on macOS" + os: osx + osx_image: xcode10.2 + language: shell - python: 2.7 env: TOXENV=py27 - python: 3.4 @@ -57,7 +61,7 @@ matrix: - python: 3.8-dev - python: nightly - python: pypy3 - - os: windows + - os: windows osx before_install: - pip install tox codecov 'sphinx>=1.5.1' - ./doc/generate_authors.sh --check From 46942820a5cce3b3a7a92c23317490d6c736d6ba Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sun, 16 Jun 2019 03:05:42 +0200 Subject: [PATCH 5/6] update env variables --- .travis.yml | 1 + 1 file changed, 1 insertion(+) diff --git a/.travis.yml b/.travis.yml index fcf5088..9d9e19b 100644 --- a/.travis.yml +++ b/.travis.yml @@ -28,6 +28,7 @@ matrix: os: osx osx_image: xcode10.2 language: shell + env: TOXENV=py37 ESCPOS_CAPABILITIES_FILE=/Users/travis/build/python-escpos/python-escpos/capabilities-data/dist/capabilities.json - python: 2.7 env: TOXENV=py27 - python: 3.4 From c5e46a888da165f2561f6a054bf240fe25f6a685 Mon Sep 17 00:00:00 2001 From: Patrick Kanzler Date: Sun, 16 Jun 2019 03:08:19 +0200 Subject: [PATCH 6/6] fix allowed failures --- .travis.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 9d9e19b..b31199d 100644 --- a/.travis.yml +++ b/.travis.yml @@ -62,7 +62,8 @@ matrix: - python: 3.8-dev - python: nightly - python: pypy3 - - os: windows osx + - os: windows + - os: osx before_install: - pip install tox codecov 'sphinx>=1.5.1' - ./doc/generate_authors.sh --check