Merge pull request #376 from matrix-org/daniel/jenkins

Pull out jenkins script into a checked in script
pull/379/head
Daniel Wagner-Hall 2015-11-16 12:50:26 -05:00
commit 3b90df21d5
3 changed files with 9 additions and 1 deletions

View File

@ -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

4
jenkins.sh Executable file
View File

@ -0,0 +1,4 @@
#!/bin/bash -eu
export PYTHONDONTWRITEBYTECODE=yep
TOXSUFFIX="--reporter=subunit | subunit-1to2 | subunit2junitxml --no-passthrough --output-to=results.xml" tox

View File

@ -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]