Skip to content

Commit

Permalink
[FEATURE] fix tests for grumphp 0.14 (#17)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kanti authored Feb 27, 2018
1 parent ba029bf commit 008f942
Show file tree
Hide file tree
Showing 3 changed files with 44 additions and 7 deletions.
37 changes: 37 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
language: php
dist: trusty
sudo: false

git:
depth: 5

php:
- 5.6
- 7.0
- 7.1
- 7.2
- nightly

env:
matrix:
-
- dependencies=lowest
- dependencies=highest

cache:
directories:
- $HOME/.composer/cache

matrix:
fast_finish: true

before_install:
- phpenv config-rm xdebug.ini || echo "xdebug not available"

install:
- if [ -z "$dependencies" ]; then composer install --no-progress --no-scripts --no-suggest -n; fi;
- if [ "$dependencies" = "lowest" ]; then composer update --no-progress --no-scripts --no-suggest -n --prefer-lowest; fi;
- if [ "$dependencies" = "highest" ]; then composer require phpro/grumphp:* --no-progress --no-scripts --no-suggest -n; fi;

script:
- ./vendor/bin/grumphp run
12 changes: 6 additions & 6 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,19 +15,19 @@
"php": "5.6"
}
},
"support": {
"issues": "https://github.com/pluswerk/grumphp-config/issues"
},
"autoload": {
"psr-4": {
"PLUS\\": "src/"
}
},
"support": {
"issues": "https://github.com/pluswerk/grumphp-config/issues"
},
"require": {
"php": ">=5.6",
"composer-plugin-api": "*",
"phpmd/phpmd": "^2.6",
"phpro/grumphp": "0.*",
"composer-plugin-api": "1.*",
"phpmd/phpmd": "2.6.*",
"phpro/grumphp": "0.14.*",
"pluswerk/grumphp-bom-task": "4.*",
"pluswerk/grumphp-xliff-task": "2.*",
"squizlabs/php_codesniffer": "2.* | 3.*"
Expand Down
2 changes: 1 addition & 1 deletion grumphp.yml
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ parameters:
detect_key_conflicts: true
phpcs:
standard: "PSR2"
show_warnings: false
warning_severity: 900000
tab_width: 4
ignore_patterns: "%convention.phpcslint_ignore_pattern%"
xmllint:
Expand Down

0 comments on commit 008f942

Please sign in to comment.