File tree Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Expand file tree Collapse file tree 1 file changed +15
-5
lines changed Original file line number Diff line number Diff line change @@ -6,17 +6,27 @@ services:
6
6
- docker
7
7
8
8
env :
9
- - PHP_IMAGE='php:7.1-cli' TNT_CLIENT=pecl PHPUNIT_OPTS='--coverage-clover=coverage.clover'
10
- - PHP_IMAGE='php:7.1-cli' CHECK_CS=1
11
- - PHP_IMAGE='php:7.2-cli' PHPUNIT_OPTS='--coverage-clover=coverage.clover'
12
- - PHP_IMAGE='php:7.3-cli'
9
+ global :
10
+ TNT_IMAGE='tarantool/tarantool:2'
11
+
12
+ matrix :
13
+ - PHP_IMAGE='php:7.1-cli' TNT_CLIENT=pecl PHPUNIT_OPTS='--coverage-clover=coverage.clover'
14
+ - PHP_IMAGE='php:7.1-cli' CHECK_CS=1
15
+ - PHP_IMAGE='php:7.2-cli' PHPUNIT_OPTS='--coverage-clover=coverage.clover'
16
+ - PHP_IMAGE='php:7.3-cli'
17
+
18
+ - PHP_IMAGE='php:7.3-cli' TNT_IMAGE='tarantool/tarantool:1.7'
19
+ - PHP_IMAGE='php:7.3-cli' TNT_IMAGE='tarantool/tarantool:1.9'
20
+ - PHP_IMAGE='php:7.3-cli' TNT_IMAGE='tarantool/tarantool:1'
21
+ - PHP_IMAGE='php:7.3-cli' TNT_IMAGE='tarantool/tarantool:2.1'
13
22
14
23
install :
15
24
- ./dockerfile.sh | tee /dev/tty | docker build -t queue -
16
25
17
26
script :
18
27
- docker network create tarantool-php
19
- - docker run -d --net=tarantool-php --name=tarantool -v `pwd`:/queue tarantool/tarantool:2 tarantool /queue/tests/Integration/queues.lua
28
+ - docker run --net=tarantool-php --rm ${TNT_IMAGE} /usr/local/bin/tarantool --version
29
+ - docker run -d --net=tarantool-php --name=tarantool -v `pwd`:/queue ${TNT_IMAGE} tarantool /queue/tests/Integration/queues.lua
20
30
- docker run --rm --net=tarantool-php -v `pwd`:/queue -w /queue -e PHPUNIT_OPTS="$PHPUNIT_OPTS" queue
21
31
22
32
after_script :
You can’t perform that action at this time.
0 commit comments