summaryrefslogtreecommitdiff
path: root/docker-compose.yml
diff options
context:
space:
mode:
authorZhineng Li <[email protected]>2026-01-21 15:57:44 +0800
committerZhineng Li <[email protected]>2026-01-21 16:00:18 +0800
commita00d74ff1c3f429239ef93787065c4376c54fabd (patch)
treed40828d6abeca2f0bad1f980f778d5dec0b39bb4 /docker-compose.yml
parent0fb3d952feed9773a777a336286b68e1f78e13c2 (diff)
downloadregion-china-a00d74ff1c3f429239ef93787065c4376c54fabd.tar.gz
region-china-a00d74ff1c3f429239ef93787065c4376c54fabd.zip
matrix test
Diffstat (limited to 'docker-compose.yml')
-rw-r--r--docker-compose.yml20
1 files changed, 20 insertions, 0 deletions
diff --git a/docker-compose.yml b/docker-compose.yml
new file mode 100644
index 0000000..4a8aea4
--- /dev/null
+++ b/docker-compose.yml
@@ -0,0 +1,20 @@
+x-test: &test
+ environment:
+ - COMPOSER_FLAGS=${COMPOSER_FLAGS:-}
+ volumes:
+ - .:/app:ro
+ - composer-cache:/root/.composer
+ working_dir: /app
+ command: sh scripts/test.sh
+
+services:
+ php84:
+ <<: *test
+ image: php:8.4-cli-alpine
+
+ php85:
+ <<: *test
+ image: php:8.5-cli-alpine
+
+volumes:
+ composer-cache: