From 8f38710a90de8f38ab716c758b8dc575d9e0fa27 Mon Sep 17 00:00:00 2001 From: jmoore Date: Fri, 15 Nov 2019 14:12:45 +0000 Subject: [PATCH] Disable pytest for this repo For some reason, on travis, three "tests" are failing: ``` data_providers (unittest.loader._FailedTest) ... ERROR omero_filters (unittest.loader._FailedTest) ... ERROR data_providers (unittest.loader._FailedTest) ... ERROR ``` but not locally. For the moment, disabling pytest. When/if a `test/` directory is created, the script will fail. --- .omeroci/app-build | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100755 .omeroci/app-build diff --git a/.omeroci/app-build b/.omeroci/app-build new file mode 100755 index 00000000..39921935 --- /dev/null +++ b/.omeroci/app-build @@ -0,0 +1,19 @@ +#!/bin/bash + +source /infra/utils + +set -e +set -u +set -x + +cd $TARGET +DIR=$(setup_dir) + +export DJANGO_SETTINGS_MODULE=omeroweb.settings +export OMERODIR=/opt/omero/web/OMERO.web +export ICE_CONFIG=${OMERO_DIST}/etc/ice.config + +if [ -e test ]; then + echo Tests currently disabled + exit 1 +fi