Skip to content
This repository was archived by the owner on Dec 22, 2025. It is now read-only.

Commit 694bd92

Browse files
committed
Use travis build matrix
1 parent ca5acde commit 694bd92

File tree

2 files changed

+9
-5
lines changed

2 files changed

+9
-5
lines changed

.travis.yml

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,12 +5,13 @@ php:
55
- '7.0'
66
- '7.1'
77

8+
env:
9+
- COMPOSER_UPDATE=
10+
- COMPOSER_UPDATE=--prefer-lowest
11+
812
script:
9-
- composer install -n
13+
- composer update $COMPOSER_UPDATE -n
1014
- vendor/bin/php-cs-fixer fix --dry-run -v
11-
- vendor/bin/phpunit
12-
- rm -rf vendor
13-
- composer update --prefer-lowest -n
1415
- vendor/bin/phpunit --coverage-clover=coverage.xml
1516

1617
after_success:

src/Client/AbstractClient.php

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,10 @@ abstract protected function getState();
3333
public function trackRequest(RequestInterface $request, Timer $timer, $success)
3434
{
3535
$bucket = new Bucket\HTTPRequest(
36-
$this->httpRequestSection, $request, $success, $this->getHTTPMetricAlterCallback()
36+
$this->httpRequestSection,
37+
$request,
38+
$success,
39+
$this->getHTTPMetricAlterCallback()
3740
);
3841
$incrementer = $this->getIncrementer();
3942

0 commit comments

Comments
 (0)