Skip to content

Commit 53494e8

Browse files
authored
Fix the CI (#244)
- Disable xdebug - Fix PHP-Scoper version to allow the newer versions of Box to be installed - Fix Scrutinizer - Bump the dependencies - Ensure the dependencies are compatible for PHP 7.1.0
1 parent 2b135c9 commit 53494e8

File tree

5 files changed

+212
-200
lines changed

5 files changed

+212
-200
lines changed

.scrutinizer.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
build:
2+
environment:
3+
variables:
4+
COMPOSER_ROOT_VERSION: '0.8.99'
5+
6+
build:
7+
tests:
8+
override:
9+
-
10+
command: 'phpdbg -qrr -d zend.enable_gc=0 bin/phpunit --coverage-clover=coverage.clover'
11+
coverage:
12+
file: 'coverage.clover'
13+
format: 'clover'

.travis.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ matrix:
1818

1919
before_install:
2020
- echo "memory_limit=-1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
21+
- phpenv config-rm xdebug.ini || true
22+
- export COMPOSER_ROOT_VERSION=0.8.99
2123
- |
2224
if [ 'false' == "$TRAVIS_PULL_REQUEST" ]; then
2325
cp box.json.dist box.json

composer.json

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,10 @@
5555

5656
"config": {
5757
"bin-dir": "bin",
58-
"sort-packages": true
58+
"sort-packages": true,
59+
"platform": {
60+
"php": "7.1.0"
61+
}
5962
},
6063
"extra": {
6164
"bamarni-bin": {

0 commit comments

Comments
 (0)