test

请不要把重要的私人代码放到本gitlab服务器,本服务器是用于测试和学习,会不定期清理私人的代码仓库,敬请谅解。

Commit 5992f67e authored by penxiao's avatar penxiao

add python3.4 tox env

Signed-off-by: penxiao's avatarPeng Xiao <penxiao@cisco.com>
parent 62bcc375
......@@ -15,7 +15,7 @@ pep8:
tags:
- python27
unittest:
unittest-py27:
stage: test
image: python:2.7
script:
......@@ -24,6 +24,15 @@ unittest:
tags:
- python27
unittest-py34:
stage: test
image: python:3.4
script:
- pip install tox
- tox -e py34
tags:
- python34
sphnix:
stage: test
image: python:2.7
......@@ -39,6 +48,8 @@ build:
- shell
script:
- docker build -t skeleton .
only:
- master
deploy:
stage: deploy
......
......@@ -6,7 +6,7 @@
[tox]
# List the environment that will be run by default
minversion = 1.6
envlist = py27, pep8, docs
envlist = py27, py34, pep8, docs
skipsdist = True
[testenv]
......@@ -20,6 +20,14 @@ deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands =
coverage run manage.py test
coverage report -m
[testenv:py34]
deps = -r{toxinidir}/test-requirements.txt
-r{toxinidir}/requirements.txt
commands =
coverage run manage.py test
coverage report -m
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment