File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 8989
9090# Rope project settings
9191.ropeproject
92+
93+ # abao tests run gunicorn in tox, this file is used to track it's pid and kill after run
94+ .gunicorn.pid
Original file line number Diff line number Diff line change 88 - TOXENV=py27
99 - TOXENV=py33
1010 - TOXENV=py34
11+ - TOXENV=abao
1112
1213script :
1314 - tox
Original file line number Diff line number Diff line change @@ -13,3 +13,5 @@ ddt>=1.0.1
1313mock>=2.0
1414
1515testtools>=1.4.0
16+
17+ nodeenv>=0.9.4 # BSD License # BSD
Original file line number Diff line number Diff line change @@ -37,6 +37,15 @@ basepython = python3.4
3737[testenv:py35]
3838basepython = python3.5
3939
40+ [testenv:abao]
41+ deps = -r{toxinidir}/test-requirements.txt
42+ passenv = *
43+ commands = nodeenv -p
44+ npm install -d -g abao@0.5.0
45+ gunicorn -w 1 -b 0.0.0.0:5000 ceagle.main:app -D -p .gunicorn.pid
46+ abao raml/api.raml --server http://127.0.0.1:5000 --hookfiles raml/abao_hooks.js
47+ sh -c \' kill -9 `cat .gunicorn.pid`\'
48+
4049[testenv:venv]
4150commands = {posargs}
4251
You can’t perform that action at this time.
0 commit comments