Skip to content

Commit

Permalink
only support php ^7.1
Browse files Browse the repository at this point in the history
  • Loading branch information
samsonasik committed Apr 21, 2017
1 parent 57d5cb9 commit 64f6951
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 18 deletions.
15 changes: 1 addition & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -2,18 +2,6 @@ language: php

matrix:
include:
- php: 5.6
env:
- DEPS=lowest
- php: 5.6
env:
- DEPS=latest
- php: 7.0
env:
- DEPS=lowest
- php: 7.0
env:
- DEPS=latest
- php: 7.1
env:
- DEPS=lowest
Expand All @@ -26,11 +14,10 @@ before_script:
- composer self-update
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable --no-interaction ; fi
- if [[ $DEPS == 'latest' ]]; then travis_retry composer install --prefer-source --no-interaction ; fi
- if [[ $TRAVIS_PHP_VERSION = 7.1 ]]; then composer global require --dev phpstan/phpstan; fi
- composer dump-autoload -o

script:
- if [[ $TRAVIS_PHP_VERSION = 7.1 ]]; then ~/.composer/vendor/bin/phpstan analyse src/ --level=5 -c phpstan.neon; fi
- bin/phpstan analyse src/ --level=7
- bin/kahlan --coverage=4 --reporter=verbose --clover=build/logs/clover.xml
- bin/coveralls -v --exclude-no-stmt

Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,11 +14,12 @@
}
],
"require": {
"php": "^5.6|^7.0",
"php": "^7.1",
"zendframework/zend-json": "^2.5|^3.0"
},
"require-dev": {
"kahlan/kahlan": "^3.0.0",
"phpstan/phpstan": "^0.6.4 || ^1.0",
"satooshi/php-coveralls": "^1.0",
"zendframework/zend-http": "^2.5",
"zendframework/zend-servicemanager": "^2.5|^3.0"
Expand Down
3 changes: 0 additions & 3 deletions phpstan.neon

This file was deleted.

0 comments on commit 64f6951

Please sign in to comment.