Ver código fonte

add service start before runnig tests

 * should work with sysvinit
 * tested with openrc
Oz N Tiram 9 anos atrás
pai
commit
c63b3766ca
1 arquivos alterados com 5 adições e 0 exclusões
  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