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