mirror of
https://git.anonymousland.org/anonymousland/synapse-product.git
synced 2024-09-09 14:31:57 +00:00
Merge pull request #376 from matrix-org/daniel/jenkins
Pull out jenkins script into a checked in script
This commit is contained in:
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
|
||||
|
4
jenkins.sh
Executable file
4
jenkins.sh
Executable file
@ -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
Block a user