File tree Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Expand file tree Collapse file tree 2 files changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -19,11 +19,11 @@ install:
1919
2020script :
2121 - docker network create tarantool-php
22- - docker run -d --net=tarantool-php --name=tarantool - v `pwd`:/queue tarantool/tarantool:1.7 tarantool /queue/tests/Integration/queues.lua
23- - docker run --rm --net=tarantool-php --name=queue - v `pwd`:/queue -w /queue -e PHPUNIT_OPTS="$PHPUNIT_OPTS" queue
22+ - docker run -d --net=tarantool-php -v `pwd`:/queue tarantool/tarantool:1 tarantool /queue/tests/Integration/queues.lua
23+ - docker run --rm --net=tarantool-php -v `pwd`:/queue -w /queue -e PHPUNIT_OPTS="$PHPUNIT_OPTS" queue
2424
2525after_script :
2626 - if [[ -f coverage.clover ]]; then
2727 curl -sSOL https://scrutinizer-ci.com/ocular.phar &&
28- php ocular.phar code-coverage:upload --format=php-clover coverage.clover;
28+ docker run --rm -v $(pwd):/coverage -w /coverage queue php ocular.phar code-coverage:upload --format=php-clover coverage.clover;
2929 fi
Original file line number Diff line number Diff line change @@ -281,7 +281,7 @@ Then run Tarantool instance (needed for integration tests):
281281``` sh
282282$ docker network create tarantool-php
283283$ docker run -d --net=tarantool-php --name=tarantool -v ` pwd` :/queue \
284- tarantool/tarantool:1.7 tarantool /queue/tests/Integration/queues.lua
284+ tarantool/tarantool:1 tarantool /queue/tests/Integration/queues.lua
285285```
286286
287287And then run both unit and integration tests:
You can’t perform that action at this time.
0 commit comments