Skip to content

Commit

Permalink
Merge pull request #426 from vEpiphyte/axon_docs
Browse files Browse the repository at this point in the history
Clean up a bunch of stuff inside of Axon
  • Loading branch information
vEpiphyte authored Oct 11, 2017
2 parents b7fed0b + 598cfa7 commit 0133563
Show file tree
Hide file tree
Showing 22 changed files with 1,162 additions and 380 deletions.
33 changes: 23 additions & 10 deletions .drone.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,14 @@
buildcommands: &runbuild
image: vertexproject/synapse-docker-testimages:${IMAGE_VERSION}
pull: true
secrets:
[ CODECOV_TOKEN ]
commands:
- if [ -n "${SLEEP}" ]; then sleep ${SLEEP}; fi;
- python setup.py install
- pytest -v -s -rs --durations 6 ${COVERAGE_ARGS}
- if [ -n "${COVERAGE_ARGS}" ]; then codecov --name ${IMAGE_VERSION} --required; fi;

clone:
git:
image: plugins/git
Expand Down Expand Up @@ -25,23 +36,25 @@ matrix:
pipeline:
pycodestyle:
group: style_checks
image: vepiphyte/synapse_test_images:py36
image: vertexproject/synapse-docker-testimages:py36
commands:
- pycodestyle --max-line-length=120 --select E111,E101,E201,E202,E203,E221,E222,E223,E224,E225,E226,E227,E228,E231,E241,E242,E251,E303,E304,E502,E711,E712,E713,E714,E721,E741,E742,E743,W191,W291,W293,W292,W391,W602,W603 synapse
- pycodestyle --max-line-length=120 --select E111,E101,E201,E202,E203,E221,E222,E223,E224,E225,E226,E227,E228,E231,E241,E242,E251,E303,E304,E502,E711,E712,E713,E714,E721,E741,E742,E743,W191,W291,W293,W292,W391,W602,W603 scripts

buildpush:
when:
event: [push]
environment:
- SYN_TEST_PG_DB=${PG_DB}
- SYN_TEST_SKIP_LONG=1
<<: *runbuild

build:
image: vertexproject/synapse-docker-testimages:${IMAGE_VERSION}
pull: true
secrets:
[ CODECOV_TOKEN ]
when:
event: [pull_request, tag, deployment]
environment:
- SYN_TEST_PG_DB=${PG_DB}
commands:
- if [ -n "${SLEEP}" ]; then sleep ${SLEEP}; fi;
- python setup.py install
- pytest -v -s --durations 6 ${COVERAGE_ARGS}
- if [ -n "${COVERAGE_ARGS}" ]; then codecov --name ${IMAGE_VERSION} --required; fi;
<<: *runbuild

services:
database:
Expand Down
2 changes: 1 addition & 1 deletion scripts/testrunner.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ if [ -e $HTML_DIR ]; then
rm -rf $HTML_DIR
fi

pytest -v -s --durations 6 --cov $MODULE --no-cov-on-fail --cov-report=html:$HTML_DIR $1
pytest -v -s --durations 6 -rs --cov $MODULE --no-cov-on-fail --cov-report=html:$HTML_DIR $1

if [ $? -eq 0 ]; then
if [ -e $INDEX ]; then
Expand Down
Loading

0 comments on commit 0133563

Please sign in to comment.