forked from g4code/data-mapper
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathMakefile
More file actions
17 lines (14 loc) · 671 Bytes
/
Makefile
File metadata and controls
17 lines (14 loc) · 671 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
TITLE = [data-mapper]
unit-tests:
@/bin/echo "${TITLE} unit test suite started..." \
&& XDEBUG_MODE=off php5.6 ./vendor/bin/phpunit -c tests/unit/phpunit.xml --coverage-html tests/unit/coverage
integration-tests:
@/bin/echo "${TITLE} starting virtual machine ..." \
&& vagrant up \
&& /bin/echo "${TITLE} importing clear database ..." \
&& ansible-playbook ansible.yml --tags database \
&& /bin/echo "${TITLE} starting integration test suite ..." \
&& ./vendor/bin/phpunit -c tests/integration/phpunit.xml --coverage-html tests/integration/coverage \
&& /bin/echo "${TITLE} stopping virtual machine ..." \
&& vagrant halt
.PHONY: unit-tests integration-tests