Update testing

Remove python jobs, there's no code here, so nothing to test.
Update docs invocation to the "modern" way.
Fix .gitreview

Change-Id: Idab8bb781ab8aa31407f07d5b7eaa410dabf9dd8
This commit is contained in:
Andreas Jaeger 2020-01-13 20:34:59 +01:00
parent 473a79b765
commit 5febf9bb26
3 changed files with 6 additions and 11 deletions

View File

@ -1,4 +1,4 @@
[gerrit]
host=review.opendev.org
port=29418
project=openstack/publiccloud-wg.git
project=openstack/publiccloud-sig.git

View File

@ -1,9 +1,3 @@
- project:
templates:
- openstack-specs-jobs
check:
jobs:
- openstack-tox-py27
gate:
jobs:
- openstack-tox-py27

View File

@ -1,11 +1,10 @@
[tox]
# Hold back to 1.4, since that's what's in Fedora 20 repos
# and we don't need anything newer for nova-specs tests
minversion = 1.4
envlist = docs,py27
envlist = docs
skipsdist = True
[testenv]
basepython = python3
usedevelop = True
setenv = VIRTUAL_ENV={envdir}
install_command = pip install -U {opts} {packages}
@ -16,4 +15,6 @@ commands = python setup.py testr --slowest --testr-args='{posargs}'
commands = {posargs}
[testenv:docs]
commands = python setup.py build_sphinx
commands =
sphinx-build -W --keep-going -b html -d doc/build/doctrees doc/source doc/build/html