Skip to content

Commit 4e86132

Browse files
authored
Merge pull request #616 from ceache/feat/build_refresh
chore(core): Update matrix: add pypy3, drop py27
2 parents 13c73ec + 1a44214 commit 4e86132

File tree

3 files changed

+17
-49
lines changed

3 files changed

+17
-49
lines changed

.travis.yml

Lines changed: 13 additions & 37 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
sudo: false
1+
os: linux
22
dist: xenial
33
addons:
44
apt:
@@ -11,57 +11,33 @@ cache:
1111
directories:
1212
- zookeeper
1313
language: python
14-
python:
15-
- '2.7'
16-
matrix:
17-
exclude:
18-
- python: '2.7'
14+
jobs:
1915
include:
20-
- python: '2.7'
21-
env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py27
22-
- python: '2.7'
23-
env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py27
24-
- python: '2.7'
25-
env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py27-gevent
26-
- python: '2.7'
27-
env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py27-gevent
28-
- python: '2.7'
29-
env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py27-eventlet
30-
- python: '2.7'
31-
env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py27-eventlet
3216
- python: '3.7'
33-
env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py37
17+
env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py37-gevent-eventlet-sasl
3418
- python: '3.7'
35-
env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py37-sasl
36-
- python: '3.7'
37-
env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py37
38-
- python: '3.7'
39-
env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py37-sasl
40-
- python: '3.8'
41-
env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py38
42-
- python: '3.8'
43-
env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py38-sasl
19+
env: ZOOKEEPER_VERSION=3.5.8 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py37-gevent-eventlet-sasl
4420
- python: '3.8'
45-
env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py38 DEPLOY=true
21+
env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py38-gevent-eventlet-sasl
4622
- python: '3.8'
47-
env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py38-sasl
48-
- python: pypy
49-
env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=pypy
50-
- python: 'pypy'
51-
env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=pypy
23+
env: ZOOKEEPER_VERSION=3.5.8 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py38-gevent-eventlet-sasl DEPLOY=true
24+
- python: 'pypy3'
25+
env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=pypy3-gevent-eventlet-sasl
26+
- python: 'pypy3'
27+
env: ZOOKEEPER_VERSION=3.5.8 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=pypy3-gevent-eventlet-sasl
5228
notifications:
5329
email: false
5430
install:
5531
- pip install tox
5632
script:
57-
- make test
33+
- tox -e ${TOX_VENV}
5834
deploy:
5935
provider: pypi
60-
user: bbangert
36+
username: bbangert
6137
password:
6238
secure: L9yXZ2PhQ2wJKQkgigIzW3f/a3ajzUamMdThVelcp/NZeTJfzlC/t89lfSRwLh95o9Z/aIxC4T8yZvNrRzzyMEP0O6s1F69pVm5Px+KBuv82lmI7p5sKTYPp35CE9jH+K/52Fy0+Az5F502xLrkaO4VLLA+zhLffw/qyvNbZui0=
6339
on:
6440
tags: true
6541
condition: $DEPLOY = true
6642
distributions: release
67-
skip_upload_docs: true
43+
upload_docs: false

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ HERE = $(shell pwd)
22
BIN = $(HERE)/bin
33
PYTHON = $(BIN)/python
44
INSTALL = $(BIN)/pip install
5-
TOX_VENV ?= py27
5+
TOX_VENV ?= py37
66
BUILD_DIRS = bin build include lib lib64 man share
77

88
PYTHON_EXE = $(shell [ -f $(PYTHON) ] && echo $(PYTHON) || echo python)

tox.ini

Lines changed: 3 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,17 +3,9 @@ minversion = 3.6
33
skipsdist = True
44
envlist =
55
pep8,
6-
py27,
7-
py27-{gevent,eventlet,sasl},
8-
py34,
9-
py34-sasl,
10-
py35,
11-
py35-sasl,
12-
py36,
13-
py36-{sasl,docs},
14-
py37,
15-
py37-{gevent,eventlet,sasl,docs},
16-
pypy
6+
{py27,py34,py35,py36,py37,py38,pypy3}
7+
{gevent,eventlet,sasl,docs},
8+
pypy3
179

1810
[testenv:pep8]
1911
commands = flake8 {posargs}

0 commit comments

Comments
 (0)