Skip to content
This repository was archived by the owner on Jul 2, 2024. It is now read-only.

Commit

Permalink
final release preps
Browse files Browse the repository at this point in the history
  • Loading branch information
basz committed Jun 27, 2016
1 parent 0feda2e commit 69a5516
Show file tree
Hide file tree
Showing 6 changed files with 53 additions and 19 deletions.
7 changes: 7 additions & 0 deletions .gitattributes
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
/tests export-ignore
/vendor export-ignore
.gitattributes export-ignore
.gitignore export-ignore
.scrutinizer.yml export-ignore
.travis.yml export-ignore
phpunit.xml.dist export-ignore
18 changes: 15 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,17 +1,29 @@
sudo: false

language: php

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

php:
- 5.5
- 5.6
- 7.0

env:
matrix:
- PREFER_LOWEST="--prefer-lowest"
- PREFER_LOWEST=""

before_script:
- composer self-update
- composer install --dev --prefer-source
- composer update --prefer-source $PREFER_LOWEST

script:
- phpunit
- ./vendor/bin/phpcs --standard=PSR2 ./src/
- vendor/bin/phpunit -c ./phpunit.xml.dist
- vendor/bin/phpcs --standard=PSR2 src

notifications:
irc: "irc.freenode.org#zftalk.modules"
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 0.6.0

- [BC] Synchronize with SlmQueue release 0.6.0 which adds compatibility with PHP7, zend-servicemanager 3 and zend-eventmanager 3

# 0.5.0

- [BC] SlmQueueSqs is now based on AWS SDK v3. As a consequence, minimum PHP dependency has been bumped to 5.5.
Expand Down
35 changes: 19 additions & 16 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,30 +23,28 @@
"homepage": "http://www.michaelgallego.fr"
}
],
"repositories": [
{
"type": "vcs",
"url": "https://github.com/basz/aws-sdk-php-zf2"
}
],
"minimum-stability": "dev",
"prefer-stable": true,
"require": {
"php": "^5.5 || ^7.0",
"zendframework/zend-eventmanager": "^2.6 || ^3.0",
"zendframework/zend-servicemanager": "~2.7 || ^3.0",
"zendframework/zend-stdlib": "~2.2 || ^3.0",
"slm/queue": "dev-master as 0.6.0",
"aws/aws-sdk-php-zf2": "dev-zf-sm3-compatibility as 3.0.0"
"zendframework/zend-servicemanager": "^2.7 || ^3.0",
"zendframework/zend-stdlib": "^2.2 || ^3.0",
"slm/queue": "^0.6",
"aws/aws-sdk-php-zf2": "dev-master as 2.0.2"
},
"require-dev": {
"zendframework/zendframework": "~2.2",
"phpunit/phpunit": "~4.1",
"squizlabs/php_codesniffer": "2.*"
"zendframework/zend-config": "^2.2",
"zendframework/zend-modulemanager": "^2.5",
"zendframework/zend-view": "^2.5",
"zendframework/zend-log": "^2.5",
"zendframework/zend-i18n": "^2.5",
"zendframework/zend-serializer": "^2.5",
"zendframework/zend-mvc": "^2.5",
"phpunit/phpunit": "^4.8",
"squizlabs/php_codesniffer": "^2.1"
},
"extra": {
"branch-alias": {
"dev-master": "0.5.0-dev"
"dev-master": "0.6.x-dev"
}
},
"autoload": {
Expand All @@ -56,5 +54,10 @@
"classmap": [
"./Module.php"
]
},
"autoload-dev": {
"psr-4": {
"SlmQueueSqsTest\\": "tests/"
}
}
}
7 changes: 7 additions & 0 deletions phpunit.xml → phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,11 @@
<directory suffix=".php">./src</directory>
</whitelist>
</filter>

<logging>
<log type="coverage-clover" target="./tests/build/logs/clover.xml"/>
<log type="coverage-html" target="./tests/build/coverage" charset="UTF-8"
yui="true" highlight="true" lowUpperBound="90" highLowerBound="100"/>
</logging>

</phpunit>
1 change: 1 addition & 0 deletions tests/.gitignore
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
TestConfiguration.php
build

0 comments on commit 69a5516

Please sign in to comment.