-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
39 lines (30 loc) · 860 Bytes
/
.travis.yml
File metadata and controls
39 lines (30 loc) · 860 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
language: php
sudo: required
php:
- 7.4
- nightly
- master
env:
- TARANTOOL_VERSION=1.10
- TARANTOOL_VERSION=2.0
- TARANTOOL_VERSION=2.1
- TARANTOOL_VERSION=2.2
matrix:
allow_failures:
- php: nightly
- php: master
services:
- docker
before_script:
- docker run -d --restart=always -p 3301:3301 --name tarantool progaudi/tarantool:$TARANTOOL_VERSION
- docker run -d --restart=always -p 8123:8123 --name clickhouse yandex/clickhouse-server
- composer install --no-interaction --optimize-autoloader
script:
- vendor/bin/phpunit --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
after_script:
- if [[ -f coverage.clover ]]; then
curl -sSOL https://scrutinizer-ci.com/ocular.phar &&
php ocular.phar code-coverage:upload --format=php-clover coverage.clover;
fi