Explorar o código

add service start before runnig tests

 * should work with sysvinit
 * tested with openrc
Oz N Tiram %!s(int64=9) %!d(string=hai) anos
pai
achega
ca3f6ea79c
Modificáronse 1 ficheiros con 5 adicións e 0 borrados
  1. 5 0
      Makefile

+ 5 - 0
Makefile

@@ -38,6 +38,11 @@ clean-pyc:
 lint:
 	flake8 pwman scripts
 
+pre-test:
+	$(shell sudo service postgresql-9.4 start)
+	$(shell sudo service mysql start)
+	$(shell sudo service mongodb start)
+
 test: install clean
 	python setup.py test
 	@rm -f tests/test.conf