aboutsummaryrefslogtreecommitdiffhomepage
path: root/Makefile
diff options
context:
space:
mode:
authorVirtualTam <virtualtam@flibidi.net>2017-05-30 23:45:17 +0200
committerVirtualTam <virtualtam@flibidi.net>2017-09-18 21:13:59 +0200
commitd691604080cc920e7d1d7ad5c98f4e3fae779524 (patch)
tree56a576fa9350f468c9fcfa7db9f8e2ed8e4ff2df /Makefile
parentceb738c59163b47e9c875764c9d3223bbc1eba24 (diff)
downloadShaarli-d691604080cc920e7d1d7ad5c98f4e3fae779524.tar.gz
Shaarli-d691604080cc920e7d1d7ad5c98f4e3fae779524.tar.zst
Shaarli-d691604080cc920e7d1d7ad5c98f4e3fae779524.zip
docker: add alpine,debian,ubuntu test images
Relates to https://github.com/shaarli/Shaarli/issues/843 Added: - Makefile target to run commands in a Docker test context - Docker images to run Shaarli test suites: - Alpine 3.6 - Debian 8 - Debian 9 - Ubuntu 16.04 - Documentation Signed-off-by: VirtualTam <virtualtam@flibidi.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 10 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index 40badb1d..a3696ec9 100644
--- a/Makefile
+++ b/Makefile
@@ -19,6 +19,16 @@ PHP_COMMA_SOURCE = index.php,application,tests,plugins
19all: static_analysis_summary check_permissions test 19all: static_analysis_summary check_permissions test
20 20
21## 21##
22# Docker test adapter
23#
24# Shaarli sources and vendored libraries are copied from a shared volume
25# to a user-owned directory to enable running tests as a non-root user.
26##
27docker_%:
28 rsync -az /shaarli/ ~/shaarli/
29 cd ~/shaarli && make $*
30
31##
22# Concise status of the project 32# Concise status of the project
23# These targets are non-blocking: || exit 0 33# These targets are non-blocking: || exit 0
24## 34##