summaryrefslogtreecommitdiffstats
path: root/Makefile
diff options
context:
space:
mode:
authorJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-01-23 10:31:27 +0100
committerJohn Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>2019-01-23 12:47:27 +0100
commitb299531e405e45834adbd97a41a8c5bc9743bf3a (patch)
tree04cc4ff113d5b634831c4d8975e04bae96e66825 /Makefile
parented31fc354473d48343df5a30e84610f1b680afe4 (diff)
Travis bump
Signed-off-by: John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 9 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index c638f30e..f8f5e714 100644
--- a/Makefile
+++ b/Makefile
@@ -9,7 +9,7 @@ source_package_name=$(source_build_directory)/$(app_name)
appstore_build_directory=$(CURDIR)/build/artifacts/appstore
appstore_package_name=$(appstore_build_directory)/$(app_name)
-all: dev-setup lint build-js-production test
+all: dev-setup lint build-js-production test test-php
# Dev env management
dev-setup: clean clean-dev npm-init
@@ -40,6 +40,14 @@ test-watch:
test-coverage:
npm run test:coverage
+test-php:
+ phpunit -c phpunit.xml
+ phpunit -c phpunit.integration.xml
+
+test-php-coverage:
+ phpunit -c phpunit.xml --coverage-clover=coverage-unit.xml
+ phpunit -c phpunit.integration.xml --coverage-clover=coverage-integration.xml
+
# Linting
lint:
npm run lint