Skip to content

Commit e6e12c8

Browse files
author
Eugene Leonovich
committed
Run tests on the latest 1.x Tarantool, fix sending coverage to scrutinizer-ci
1 parent 85c9ae7 commit e6e12c8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.travis.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,11 @@ install:
1919

2020
script:
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

2525
after_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

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff 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

287287
And then run both unit and integration tests:

0 commit comments

Comments
 (0)