summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.zuul.yaml5
-rw-r--r--tox.ini22
2 files changed, 24 insertions, 3 deletions
diff --git a/.zuul.yaml b/.zuul.yaml
new file mode 100644
index 0000000..8057c6c
--- /dev/null
+++ b/.zuul.yaml
@@ -0,0 +1,5 @@
+- project:
+ templates:
+ - python35-charm-jobs
+ - openstack-python3-train-jobs
+
diff --git a/tox.ini b/tox.ini
index c395138..c58425d 100644
--- a/tox.ini
+++ b/tox.ini
@@ -1,13 +1,16 @@
[tox]
envlist = pep8,py27,py34,py35
skipsdist = True
-skip_missing_interpreters = True
+# NOTE(beisner): Avoid build/test env pollution by not enabling sitepackages.
+sitepackages = False
+# NOTE(beisner): Avoid false positives by not skipping missing interpreters.
+skip_missing_interpreters = False
[testenv]
setenv = VIRTUAL_ENV={envdir}
PYTHONHASHSEED=0
install_command =
- pip install --allow-unverified python-apt {opts} {packages}
+ pip install {opts} {packages}
commands = ostestr {posargs}
[testenv:py27]
@@ -28,12 +31,25 @@ deps = -r{toxinidir}/test-requirements.txt
# TODO: Need to write unit tests then remove the following command.
commands = /bin/true
+[testenv:py36]
+basepython = python3.6
+deps = -r{toxinidir}/test-requirements.txt
+# TODO: Need to write unit tests then remove the following command.
+commands = /bin/true
+
+[testenv:py37]
+basepython = python3.7
+deps = -r{toxinidir}/test-requirements.txt
+# TODO: Need to write unit tests then remove the following command.
+commands = /bin/true
+
[testenv:pep8]
-basepython = python2.7
+basepython = python3
deps = -r{toxinidir}/test-requirements.txt
commands = flake8 {posargs}
[testenv:venv]
+basepython = python3
commands = {posargs}
[flake8]

This mirror site include all the OpenStack related repositories under: openstack, openstack-dev and openstack-infra.

NOTE: All repositories are updated every one hour.

Usage

For Git Clone
 git clone http://git.trystack.cn/openstack/nova.git 
For DevStack

Add GIT_BASE, NOVNC_REPO and SPICE_REPO variables to local.conf file.

[[local|localrc]]

# use TryStack git mirror
GIT_BASE=http://git.trystack.cn
NOVNC_REPO=http://git.trystack.cn/kanaka/noVNC.git
SPICE_REPO=http://git.trystack.cn/git/spice/spice-html5.git