Преглед на файлове

add service start before runnig tests

 * should work with sysvinit
 * tested with openrc
Oz N Tiram преди 9 години
родител
ревизия
c63b3766ca
променени са 1 файла, в които са добавени 5 реда и са изтрити 0 реда
  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