diff --git a/.travis.yml b/.travis.yml index a01ac4a9c..c7cab5c6a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -45,14 +45,7 @@ install: - pip install -e . script: - - | - openwisp-utils-qa-checks \ - --migration-path \ - "./openwisp_monitoring/check/migrations \ - ./openwisp_monitoring/device/migrations \ - ./openwisp_monitoring/monitoring/migrations \ - ./openwisp_monitoring/notifications/migrations" \ - --migration-module "check device_monitoring monitoring notifications" + - ./run-qa-checks - coverage run --source=openwisp_monitoring runtests.py after_success: diff --git a/run-qa-checks b/run-qa-checks new file mode 100755 index 000000000..792a435b4 --- /dev/null +++ b/run-qa-checks @@ -0,0 +1,7 @@ +#!/bin/bash +openwisp-utils-qa-checks \ + --migration-path "./openwisp_monitoring/check/migrations \ + ./openwisp_monitoring/device/migrations \ + ./openwisp_monitoring/monitoring/migrations \ + ./openwisp_monitoring/notifications/migrations" \ + --migration-module "check device_monitoring monitoring notifications"