Skip to content

Commit 38afdbc

Browse files
committed
updating travis.yml (again) to attempt to get some coverage
1 parent 3f486ef commit 38afdbc

File tree

4 files changed

+9
-41
lines changed

4 files changed

+9
-41
lines changed

.scrutinizer.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ checks:
2828
tools:
2929
external_code_coverage:
3030
timeout: 600
31-
runs: 3
31+
runs: 2

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,18 @@ php:
44
- 7.4
55
- 8.0
66

7+
cache:
8+
directories:
9+
- $HOME/.composer/cache
10+
711
env:
8-
matrix:
9-
- COMPOSER_FLAGS="--prefer-lowest"
10-
- COMPOSER_FLAGS=""
12+
- XDEBUG_MODE=coverage
1113

1214
before_script:
13-
- travis_retry composer self-update
14-
- travis_retry composer update ${COMPOSER_FLAGS} --no-interaction --prefer-source
15+
- travis_retry composer update --no-interaction --prefer-dist
1516

1617
script:
18+
- vendor/bin/phpcs --standard=psr2 src/
1719
- vendor/bin/phpunit --coverage-text --coverage-clover=coverage.clover
1820

1921
after_script:

composer.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
"php": "^7.4|^8.0"
2020
},
2121
"require-dev": {
22-
"phpunit/phpunit": "^9.3",
22+
"phpunit/phpunit": "^9.5",
2323
"squizlabs/php_codesniffer": "^3.6",
2424
"phpstan/phpstan": "^0.12.97",
2525
"mockery/mockery": "^1.4"

phpunit.xml.dist_old

Lines changed: 0 additions & 34 deletions
This file was deleted.

0 commit comments

Comments
 (0)