Merge pull request #376 from matrix-org/daniel/jenkins
Pull out jenkins script into a checked in scriptpull/379/head
commit
3b90df21d5
|
@ -20,4 +20,6 @@ recursive-include synapse/static *.gif
|
|||
recursive-include synapse/static *.html
|
||||
recursive-include synapse/static *.js
|
||||
|
||||
exclude jenkins.sh
|
||||
|
||||
prune demo/etc
|
||||
|
|
|
@ -0,0 +1,4 @@
|
|||
#!/bin/bash -eu
|
||||
|
||||
export PYTHONDONTWRITEBYTECODE=yep
|
||||
TOXSUFFIX="--reporter=subunit | subunit-1to2 | subunit2junitxml --no-passthrough --output-to=results.xml" tox
|
4
tox.ini
4
tox.ini
|
@ -6,10 +6,12 @@ deps =
|
|||
coverage
|
||||
Twisted>=15.1
|
||||
mock
|
||||
python-subunit
|
||||
junitxml
|
||||
setenv =
|
||||
PYTHONDONTWRITEBYTECODE = no_byte_code
|
||||
commands =
|
||||
coverage run --source=synapse {envbindir}/trial {posargs:tests}
|
||||
/bin/bash -c "coverage run --source=synapse {envbindir}/trial {posargs:tests} {env:TOXSUFFIX:}"
|
||||
coverage report -m
|
||||
|
||||
[testenv:packaging]
|
||||
|
|
Loading…
Reference in New Issue