diff options
author | VirtualTam <virtualtam+github@flibidi.net> | 2017-09-19 18:18:35 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-19 18:18:35 +0200 |
commit | 6aae4bd0a15575eb11b4774cfdcdad1c2a994fe0 (patch) | |
tree | 6a13b2f27a0e06b5358c7b52556ef2b774cb817e /Makefile | |
parent | fc1c1b8869817f5864c72d57385761b9124603da (diff) | |
parent | d691604080cc920e7d1d7ad5c98f4e3fae779524 (diff) | |
download | Shaarli-6aae4bd0a15575eb11b4774cfdcdad1c2a994fe0.tar.gz Shaarli-6aae4bd0a15575eb11b4774cfdcdad1c2a994fe0.tar.zst Shaarli-6aae4bd0a15575eb11b4774cfdcdad1c2a994fe0.zip |
Merge pull request #909 from virtualtam/docker/test-environments
docker: add alpine,debian,ubuntu test images
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -19,6 +19,16 @@ PHP_COMMA_SOURCE = index.php,application,tests,plugins | |||
19 | all: static_analysis_summary check_permissions test | 19 | all: 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 | ## | ||
27 | docker_%: | ||
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 | ## |