summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCharles-Henri de Boysson <ceache@users.noreply.github.com>2020-04-14 23:19:49 -0400
committerCharles-Henri de Boysson <ceache@users.noreply.github.com>2020-06-21 11:27:12 -0400
commit522189da0f238faafc8f1db34f682f49b15ec503 (patch)
tree72c19a7d21799a1e120fe3f61cd2eb46df19fdc7
parente4f808f7f0fe17e7e01468a2c54684f048e12b52 (diff)
downloadkazoo-522189da0f238faafc8f1db34f682f49b15ec503.tar.gz
chore(core): Update matrix: add pypy3, drop py27
Update .travis.yml definition per warnings. Tests are now only run on py37, py38 and pypy3. Bumped Zookeeper to 3.5.8.
-rw-r--r--.travis.yml50
-rw-r--r--Makefile2
-rw-r--r--tox.ini14
3 files changed, 17 insertions, 49 deletions
diff --git a/.travis.yml b/.travis.yml
index 06aadee..1f74181 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,4 +1,4 @@
-sudo: false
+os: linux
dist: xenial
addons:
apt:
@@ -11,57 +11,33 @@ cache:
directories:
- zookeeper
language: python
-python:
-- '2.7'
-matrix:
- exclude:
- - python: '2.7'
+jobs:
include:
- - python: '2.7'
- env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py27
- - python: '2.7'
- env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py27
- - python: '2.7'
- env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py27-gevent
- - python: '2.7'
- env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py27-gevent
- - python: '2.7'
- env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py27-eventlet
- - python: '2.7'
- env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py27-eventlet
- python: '3.7'
- env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py37
+ env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py37-gevent-eventlet-sasl
- python: '3.7'
- env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py37-sasl
- - python: '3.7'
- env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py37
- - python: '3.7'
- env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py37-sasl
- - python: '3.8'
- env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py38
- - python: '3.8'
- env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py38-sasl
+ env: ZOOKEEPER_VERSION=3.5.8 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py37-gevent-eventlet-sasl
- python: '3.8'
- env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py38 DEPLOY=true
+ env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=py38-gevent-eventlet-sasl
- python: '3.8'
- env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py38-sasl
- - python: pypy
- env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=pypy
- - python: 'pypy'
- env: ZOOKEEPER_VERSION=3.5.7 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=pypy
+ env: ZOOKEEPER_VERSION=3.5.8 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=py38-gevent-eventlet-sasl DEPLOY=true
+ - python: 'pypy3'
+ env: ZOOKEEPER_VERSION=3.4.14 TOX_VENV=pypy3-gevent-eventlet-sasl
+ - python: 'pypy3'
+ env: ZOOKEEPER_VERSION=3.5.8 ZOOKEEPER_PREFIX="apache-" ZOOKEEPER_SUFFIX="-bin" ZOOKEEPER_LIB="lib" TOX_VENV=pypy3-gevent-eventlet-sasl
notifications:
email: false
install:
- pip install tox
script:
-- make test
+- tox -e ${TOX_VENV}
deploy:
provider: pypi
- user: bbangert
+ username: bbangert
password:
secure: L9yXZ2PhQ2wJKQkgigIzW3f/a3ajzUamMdThVelcp/NZeTJfzlC/t89lfSRwLh95o9Z/aIxC4T8yZvNrRzzyMEP0O6s1F69pVm5Px+KBuv82lmI7p5sKTYPp35CE9jH+K/52Fy0+Az5F502xLrkaO4VLLA+zhLffw/qyvNbZui0=
on:
tags: true
condition: $DEPLOY = true
distributions: release
- skip_upload_docs: true
+ upload_docs: false
diff --git a/Makefile b/Makefile
index 61fbc41..b03c20f 100644
--- a/Makefile
+++ b/Makefile
@@ -2,7 +2,7 @@ HERE = $(shell pwd)
BIN = $(HERE)/bin
PYTHON = $(BIN)/python
INSTALL = $(BIN)/pip install
-TOX_VENV ?= py27
+TOX_VENV ?= py37
BUILD_DIRS = bin build include lib lib64 man share
PYTHON_EXE = $(shell [ -f $(PYTHON) ] && echo $(PYTHON) || echo python)
diff --git a/tox.ini b/tox.ini
index 3b0e925..c2c4304 100644
--- a/tox.ini
+++ b/tox.ini
@@ -3,17 +3,9 @@ minversion = 3.6
skipsdist = True
envlist =
pep8,
- py27,
- py27-{gevent,eventlet,sasl},
- py34,
- py34-sasl,
- py35,
- py35-sasl,
- py36,
- py36-{sasl,docs},
- py37,
- py37-{gevent,eventlet,sasl,docs},
- pypy
+ {py27,py34,py35,py36,py37,py38,pypy3}
+ {gevent,eventlet,sasl,docs},
+ pypy3
[testenv:pep8]
commands = flake8 {posargs}