Updated makefile to add mongodb

Change-Id: Ia2f3c42344d48485c0d122d4bc9333e5bc6c7096
This commit is contained in:
aviau 2015-08-06 17:04:50 -04:00
parent 39e5f67b4c
commit 69bf6b3c7e
1 changed files with 12 additions and 1 deletions

View File

@ -1,5 +1,10 @@
test: clean
test: clean start-mongo
tox
sudo docker stop surveil_test_mongo
integration: clean
tox -eintegration
sudo docker stop surveil_test_mongo
clean:
rm -rf pbr-*.egg
@ -7,3 +12,9 @@ clean:
rm -rf .tox
rm -rf .testrepository
rm -rf doc/build
- sudo docker kill surveil_test_mongo
- sudo docker rm surveil_test_mongo
start-mongo:
sudo docker pull mongo
sudo docker run -d --name surveil_test_mongo -p 27017:27017 mongo mongod --smallfiles --noprealloc