Skip to content

Commit 372722c

Browse files
committed
- updates CI scripts
1 parent ba598e8 commit 372722c

5 files changed

Lines changed: 20 additions & 24 deletions

File tree

.scrutinizer.yml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -7,16 +7,18 @@ build:
77
- php-scrutinizer-run
88
environment:
99
php:
10-
version: '7.2'
11-
dependencies:
12-
override:
13-
- composer install --no-interaction --prefer-source
10+
version: '7.3'
11+
12+
before_commands:
13+
- 'composer update -o --prefer-source --no-interaction'
1414

1515
filter:
1616
excluded_paths:
17-
- 'Tests/'
18-
- 'vendor/'
17+
- 'Tests/*'
18+
- 'vendor/*'
19+
- 'build/*'
1920

2021
tools:
21-
php_analyzer: true
2222
external_code_coverage: true
23+
php_analyzer: true
24+
php_code_sniffer: true

.travis.yml

Lines changed: 9 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: php
2-
3-
sudo: false
2+
os: linux
3+
dist: xenial
44

55
notifications:
66
email: false
@@ -15,13 +15,13 @@ php:
1515
- 7.4
1616
- nightly
1717

18-
matrix:
18+
jobs:
1919
fast_finish: true
2020
allow_failures:
2121
- php: nightly
2222

2323
services:
24-
- redis-server
24+
- redis
2525
- memcached
2626

2727
env:
@@ -34,10 +34,11 @@ before_script:
3434
- pecl install msgpack
3535

3636
install:
37-
- composer update -o --no-interaction --prefer-stable
37+
- composer update -o --prefer-source --no-interaction
3838

3939
script:
40-
- vendor/bin/phpunit --coverage-clover build/coverage/clover.xml
40+
- vendor/bin/phpunit --coverage-clover build/clover.xml
4141

42-
after_success:
43-
- travis_retry vendor/bin/ocular code-coverage:upload --format=php-clover build/coverage/clover.xml
42+
after_script:
43+
- wget https://scrutinizer-ci.com/ocular.phar
44+
- php ocular.phar code-coverage:upload --format=php-clover build/clover.xml

Configuration/RedisConfiguration.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717

1818
final class RedisConfiguration extends Immutable implements Configuration
1919
{
20-
2120
private $type;
2221

2322
public function __construct(array $values)

VERSION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.3.0
1+
2.3.1

composer.json

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -49,12 +49,6 @@
4949
"mikey179/vfsstream": "~1",
5050
"predis/predis": "dev-master",
5151
"cache/integration-tests": "dev-master",
52-
"symfony/phpunit-bridge": "^4.4@dev",
53-
"scrutinizer/ocular": "^1.6"
54-
},
55-
"extra": {
56-
"branch-alias": {
57-
"dev-master": "2.x-dev"
58-
}
52+
"symfony/phpunit-bridge": "^4.4@dev"
5953
}
6054
}

0 commit comments

Comments
 (0)