summaryrefslogtreecommitdiff
path: root/vendor/j4mie/idiorm/test/docker_for_php52/README.md
diff options
context:
space:
mode:
Diffstat (limited to 'vendor/j4mie/idiorm/test/docker_for_php52/README.md')
-rw-r--r--vendor/j4mie/idiorm/test/docker_for_php52/README.md23
1 files changed, 23 insertions, 0 deletions
diff --git a/vendor/j4mie/idiorm/test/docker_for_php52/README.md b/vendor/j4mie/idiorm/test/docker_for_php52/README.md
new file mode 100644
index 000000000..80a6fb707
--- /dev/null
+++ b/vendor/j4mie/idiorm/test/docker_for_php52/README.md
@@ -0,0 +1,23 @@
+# Docker for PHP 5.2 testing
+
+Run all the following commands from this diretory.
+
+# Building the image
+
+ docker build . -f Dockerfile -t treffynnon/php5.2cli
+
+# Run the tests
+
+ docker run -t -v $(realpath ../..):/tmp/idiorm --rm treffynnon/php5.2cli /root/phpunit -c /tmp/idiorm/phpunit.xml
+
+# Running the container interactively
+
+ docker run -it -v $(realpath ../..):/tmp/idiorm --rm treffynnon/php5.2cli
+
+# Running the tests
+
+ ~/phpunit -c tmp/idiorm/phpunit.xml
+
+# Getting out of the interactive container
+
+ exit \ No newline at end of file