Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,4 @@
clover.xml
.phpunit.result.cache
vendor/
composer.lock
27 changes: 20 additions & 7 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,11 +1,24 @@
language: php

php:
- 7.2
- 7.3
jobs:
include:
- stage: "PHP7.2 - lowest"
php: 7.2
script:
- composer update -n --prefer-dist --prefer-lowest --no-suggest
- composer dump-autoload
- php vendor/bin/phpunit

before_script:
- composer install --prefer-source --no-interaction
- composer dump-autoload
- stage: "PHP7.3 - highest"
php: 7.3
script:
- composer update -n --prefer-dist --no-suggest
- composer dump-autoload
- php vendor/bin/phpunit

script: vendor/bin/phpunit
- stage: "PHP7.4 - highest"
php: 7.4
script:
- composer update -n --prefer-dist --no-suggest
- composer dump-autoload
- php vendor/bin/phpunit
10 changes: 6 additions & 4 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,15 @@
],
"require": {
"php": "^7.2",
"ext-json": "*",
"ext-pcntl": "*",
"yosymfony/resource-watcher": "^2.0",
"symfony/console": "^4.3",
"symfony/console": "^4.3 || ^5.0",
"react/event-loop": "^1.1",
"symfony/yaml": "^4.3",
"symfony/yaml": "^4.3 || ^5.0",
"react/child-process": "^0.6.1",
"ext-json": "*",
"ext-pcntl": "*",
"react/stream": "^1.0.0",
"symfony/finder": "^4.3 || ^5.0",
"alecrabbit/php-cli-snake": "^0.5"
},
"autoload": {
Expand Down
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
convertNoticesToExceptions="true"
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
stopOnFailure="true"
bootstrap="vendor/autoload.php">
<testsuites>
<testsuite name="Common">
Expand Down