summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authori00171 <anton.delitsch@implema.se>2016-06-26 18:35:25 +0200
committeri00171 <anton.delitsch@implema.se>2016-06-26 18:35:25 +0200
commit47039d32c84ba699867920d2c3cb47a34b199b9d (patch)
tree4fbc2ec34889baeab00085e0509055dca7daee6a /Makefile
parent911be6ed00c1ece5d9ef2c16e80899bb7bffad67 (diff)
parentc110dffefe259c13e60193fb81ebb9d4b79504de (diff)
Merge branch 'master' of https://github.com/fguillot/kanboard
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile23
1 files changed, 22 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 6ffba241..47e9d389 100644
--- a/Makefile
+++ b/Makefile
@@ -58,7 +58,28 @@ test-postgres:
unittest: test-sqlite test-mysql test-postgres
test-browser:
- @ phpunit -c tests/acceptance.xml
+ @ phpunit -c tests/acceptance.xml
+
+integration-test-mysql:
+ @ composer install
+ @ docker-compose -f tests/docker/compose.integration.mysql.yaml build
+ @ docker-compose -f tests/docker/compose.integration.mysql.yaml up -d mysql app
+ @ docker-compose -f tests/docker/compose.integration.mysql.yaml up tests
+ @ docker-compose -f tests/docker/compose.integration.mysql.yaml down
+
+integration-test-postgres:
+ @ composer install
+ @ docker-compose -f tests/docker/compose.integration.postgres.yaml build
+ @ docker-compose -f tests/docker/compose.integration.postgres.yaml up -d postgres app
+ @ docker-compose -f tests/docker/compose.integration.postgres.yaml up tests
+ @ docker-compose -f tests/docker/compose.integration.postgres.yaml down
+
+integration-test-sqlite:
+ @ composer install
+ @ docker-compose -f tests/docker/compose.integration.sqlite.yaml build
+ @ docker-compose -f tests/docker/compose.integration.sqlite.yaml up -d app
+ @ docker-compose -f tests/docker/compose.integration.sqlite.yaml up tests
+ @ docker-compose -f tests/docker/compose.integration.sqlite.yaml down
sql:
@ pg_dump --schema-only --no-owner --no-privileges --quote-all-identifiers -n public --file app/Schema/Sql/postgres.sql kanboard