mirror of
https://github.com/samsonjs/vdirsyncer.git
synced 2026-03-25 08:55:50 +00:00
Fail if hypothesis-upload fails
This commit is contained in:
parent
3cf33e5efe
commit
0eda0984f2
3 changed files with 6 additions and 10 deletions
|
|
@ -1,7 +1,4 @@
|
|||
{
|
||||
"after_script": [
|
||||
"if [ \"$BUILD_PRS\" = \"true\" ] || [ \"$TRAVIS_PULL_REQUEST\" = \"false\" ]; then\n scripts/upload-hypothesis-db.sh;\nfi"
|
||||
],
|
||||
"branches": {
|
||||
"only": [
|
||||
"auto",
|
||||
|
|
|
|||
9
Makefile
9
Makefile
|
|
@ -31,13 +31,16 @@ install-test: install-servers
|
|||
[ $(CI) != "true" ] || pip install coverage codecov
|
||||
|
||||
test:
|
||||
set -e; \
|
||||
if [ "$(CI)" = "true" ]; then \
|
||||
coverage run --source=vdirsyncer/ --module pytest; \
|
||||
codecov; \
|
||||
else \
|
||||
py.test; \
|
||||
fi
|
||||
fi; \
|
||||
STATUS=$?; \
|
||||
set -e; \
|
||||
[ "$(CI)" != "true" ] || codecov; \
|
||||
[ "$(CI)" != "true" ] || scripts/upload-hypothesis-db.sh; \
|
||||
[ "$$STATUS" = "0" ]
|
||||
|
||||
install-style: install-docs
|
||||
pip install flake8 flake8-import-order flake8-bugbear
|
||||
|
|
|
|||
|
|
@ -35,10 +35,6 @@ cfg['script'] = [script("""
|
|||
make -e $BUILD;
|
||||
""")]
|
||||
|
||||
cfg['after_script'] = [script("""
|
||||
scripts/upload-hypothesis-db.sh;
|
||||
""")]
|
||||
|
||||
matrix = []
|
||||
cfg['matrix'] = {'include': matrix}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue