Skip to content
This repository has been archived by the owner on Jan 21, 2020. It is now read-only.

Commit

Permalink
Merge 2bcf3b1 into 6887fb9
Browse files Browse the repository at this point in the history
  • Loading branch information
michalbundyra committed Nov 6, 2017
2 parents 6887fb9 + 2bcf3b1 commit 968fb79
Show file tree
Hide file tree
Showing 11 changed files with 486 additions and 315 deletions.
15 changes: 9 additions & 6 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -1,7 +1,10 @@
/docs export-ignore
/test export-ignore
.coveralls.yml
.gitattributes export-ignore
.gitignore export-ignore
.travis.yml export-ignore
phpunit.xml.dist export-ignore
phpcs.xml export-ignore
/.coveralls.yml export-ignore
/.docheader export-ignore
/.gitattributes export-ignore
/.gitignore export-ignore
/.travis.yml export-ignore
/composer.lock export-ignore
/phpcs.xml export-ignore
/phpunit.xml.dist export-ignore
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
vendor/
phpunit.xml
clover.xml
coveralls-upload.json
phpunit.xml
32 changes: 9 additions & 23 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,11 @@ language: php
cache:
directories:
- $HOME/.composer/cache
- $HOME/.local
- vendor

env:
global:
- COMPOSER_ARGS="--no-interaction"
- COVERAGE_DEPS="satooshi/php-coveralls"
- LEGACY_DEPS="phpunit/phpunit"

matrix:
include:
Expand All @@ -22,7 +19,7 @@ matrix:
- php: 5.6
env:
- DEPS=locked
- TEST_COVERAGE=true
- LEGACY_DEPS="phpunit/phpunit"
- php: 5.6
env:
- DEPS=latest
Expand All @@ -32,7 +29,7 @@ matrix:
- php: 7
env:
- DEPS=locked
- CS_CHECK=true
- LEGACY_DEPS="phpunit/phpunit"
- php: 7
env:
- DEPS=latest
Expand All @@ -42,32 +39,31 @@ matrix:
- php: 7.1
env:
- DEPS=locked
- CS_CHECK=true
- TEST_COVERAGE=true
- php: 7.1
env:
- DEPS=latest
- php: hhvm
- php: 7.2
env:
- DEPS=lowest
- php: hhvm
- php: 7.2
env:
- DEPS=locked
- php: hhvm
- php: 7.2
env:
- DEPS=latest
allow_failures:
- php: hhvm

before_install:
- if [[ $TEST_COVERAGE != 'true' ]]; then phpenv config-rm xdebug.ini || return 0 ; fi
- travis_retry composer self-update

install:
- travis_retry composer install $COMPOSER_ARGS --ignore-platform-reqs
- if [[ $TRAVIS_PHP_VERSION =~ ^5.6 ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
- if [[ $LEGACY_DEPS != '' ]]; then travis_retry composer update $COMPOSER_ARGS --with-dependencies $LEGACY_DEPS ; fi
- if [[ $DEPS == 'latest' ]]; then travis_retry composer update $COMPOSER_ARGS ; fi
- if [[ $DEPS == 'lowest' ]]; then travis_retry composer update --prefer-lowest --prefer-stable $COMPOSER_ARGS ; fi
- if [[ $TEST_COVERAGE == 'true' ]]; then travis_retry composer require --dev $COMPOSER_ARGS $COVERAGE_DEPS ; fi
- composer show
- stty cols 120 && composer show

script:
- if [[ $TEST_COVERAGE == 'true' ]]; then composer test-coverage ; else composer test ; fi
Expand All @@ -79,13 +75,3 @@ after_script:

notifications:
email: false
irc:
channels:
- "irc.freenode.org#zftalk.dev"
on_success: change
on_failure: always
slack:
rooms:
- secure: "MZggsHrpmr9k5jyQDfQJzWLGBrwhE2QfAlSgCWLAPrp2W9CehXXMpDniuWTaZzjj1pZNhJzetNshNJU9CVtq0Jqels8DRK9oJoX3VZqWGW7pugDDBXNi7SnPcjOs0rSYCmf+g/cGTr4m7KJXWJDmmJtipJtmE14vwWVcPTOE9RXWcUMyNKwyfzTiAT1Uh7eau7swenb2+eU5PwkFaGoRtiJWjJrzB+HwVcV6o589O6dkG244TDWlAFulpLajYKn/ia09j6bcKqjTowyMk6i2FKwUNW3+ZYHIkx1vG3b94mLOWJnIMEhKTDxBn/vRTSWegrLf4ECbDb04NbEzl6j+WmPDL25h1MTMBALcLaCVE1S4i7S/eAnXdUfR/j6hn97m1xKMVkHtYOtV+VNMR71fvTlojnI2OZp+nQTZVMDGwBiaraj46Yt0z7rYcLy1WSA0qSiya84/bm+PEcqbuFg0v/Og4JrxtUl8ujaqPmSjR/bVm0fJbxLnM+MB8lVtHBr+pVuVMePTnxrKo1xo8C5NGHpw7HRjl7FG/hDLrAF3XQ7pawVU/gWz70wcF0439FhISdBq60SWw9bGndpfn1MMZlwMoUGhM+guyOocJv1/dUhZDqbL5js5HUuIpzqOG27UPN2icL55FOMLVVL4szLGab/pUonGM93VTbxvQVLzNuc="
on_success: change
on_failure: always
28 changes: 22 additions & 6 deletions LICENSE.md
Original file line number Diff line number Diff line change
@@ -1,12 +1,28 @@
Copyright (c) 2015, Zend Technologies USA, Inc.
Copyright (c) 2015-2017, Zend Technologies USA, Inc.

All rights reserved.

Redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
Redistribution and use in source and binary forms, with or without modification,
are permitted provided that the following conditions are met:

- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions of source code must retain the above copyright notice, this
list of conditions and the following disclaimer.

- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Redistributions in binary form must reproduce the above copyright notice, this
list of conditions and the following disclaimer in the documentation and/or
other materials provided with the distribution.

- Neither the name of Zend Technologies USA, Inc. nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
- Neither the name of Zend Technologies USA, Inc. nor the names of its
contributors may be used to endorse or promote products derived from this
software without specific prior written permission.

THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND
ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR
ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES
(INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON
ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
40 changes: 26 additions & 14 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,22 +1,34 @@
{
"name": "zendframework/zend-expressive-aurarouter",
"description": "Aura.Router integration for Expressive",
"type": "library",
"license": "BSD-3-Clause",
"keywords": [
"aura",
"expressive",
"http",
"middleware",
"psr",
"psr-7"
"psr-7",
"zf",
"zendframework",
"zend-expressive"
],
"config": {
"sort-packages": true
},
"extra": {
"branch-alias": {
"dev-master": "2.0-dev",
"dev-develop": "2.1-dev"
}
},
"support": {
"issues": "https://github.com/zendframework/zend-expressive-aurarouter/issues",
"source": "https://github.com/zendframework/zend-expressive-aurarouter",
"rss": "https://github.com/zendframework/zend-expressive-aurarouter/releases.atom",
"slack": "https://zendframework-slack.herokuapp.com",
"forum": "https://discourse.zendframework.com/c/questions/expressive"
},
"require": {
"php": "^5.6 || ^7.0",
"aura/router": "^3.0.1",
Expand All @@ -26,30 +38,30 @@
},
"require-dev": {
"malukenho/docheader": "^0.1.5",
"phpunit/phpunit": "^6.0.8 || ^5.7.15",
"phpunit/phpunit": "^5.7.23 || ^6.4.3",
"zendframework/zend-coding-standard": "~1.0.0"
},
"autoload": {
"psr-4": {
"Zend\\Expressive\\Router\\": "src/"
}
"psr-4": {
"Zend\\Expressive\\Router\\": "src/"
}
},
"autoload-dev": {
"psr-4": {
"ZendTest\\Expressive\\Router\\": "test/"
}
"psr-4": {
"ZendTest\\Expressive\\Router\\": "test/"
}
},
"scripts": {
"check": [
"@license-check",
"@cs-check",
"@test"
],
"upload-coverage": "coveralls -v",
"cs-check": "phpcs --colors",
"cs-fix": "phpcbf --colors",
"license-check": "docheader check src/ test/",
"cs-check": "phpcs",
"cs-fix": "phpcbf",
"test": "phpunit --colors=always",
"test-coverage": "phpunit --coverage-clover clover.xml"
"test-coverage": "phpunit --colors=always --coverage-clover clover.xml",
"upload-coverage": "coveralls -v",
"license-check": "vendor/bin/docheader check src/ test/"
}
}
Loading

0 comments on commit 968fb79

Please sign in to comment.