ci: Add python nightlies to test matrix (#1710)

Signed-off-by: Eli Uriegas <seemethere101@gmail.com>
This commit is contained in:
Eli Uriegas 2019-12-25 16:50:31 -08:00 committed by 7
parent 243f240e5f
commit 2b5f8d20de
2 changed files with 16 additions and 3 deletions

View File

@ -43,6 +43,19 @@ matrix:
dist: xenial dist: xenial
sudo: true sudo: true
name: "Python 3.7 Documentation tests" name: "Python 3.7 Documentation tests"
- env: TOX_ENV=pyNightly
python: 'nightly'
name: "Python nightly with Extensions"
- env: TOX_ENV=pyNightly-no-ext
python: 'nightly'
name: "Python nightly Extensions"
allow_failures:
- env: TOX_ENV=pyNightly
python: 'nightly'
name: "Python nightly with Extensions"
- env: TOX_ENV=pyNightly-no-ext
python: 'nightly'
name: "Python nightly Extensions"
install: install:
- pip install -U tox - pip install -U tox
- pip install codecov - pip install codecov

View File

@ -1,11 +1,11 @@
[tox] [tox]
envlist = py36, py37, {py36,py37}-no-ext, lint, check, security, docs envlist = py36, py37, pyNightly, {py36,py37,pyNightly}-no-ext, lint, check, security, docs
[testenv] [testenv]
usedevelop = True usedevelop = True
setenv = setenv =
{py36,py37}-no-ext: SANIC_NO_UJSON=1 {py36,py37,pyNightly}-no-ext: SANIC_NO_UJSON=1
{py36,py37}-no-ext: SANIC_NO_UVLOOP=1 {py36,py37,pyNightly}-no-ext: SANIC_NO_UVLOOP=1
deps = deps =
coverage coverage
pytest==5.2.1 pytest==5.2.1