-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #27 from clickalicious/develop
Release 3.0.0 preparations.
- Loading branch information
Showing
24 changed files
with
156 additions
and
301 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,21 +1,8 @@ | ||
# Project specific | ||
# clickalicious | ||
__*/ | ||
docs/coverage/* | ||
build/* | ||
bin/* | ||
|
||
# Common | ||
*.bak | ||
*.tmp | ||
*.log | ||
*.old | ||
.settings | ||
.buildpath | ||
.project | ||
.externalToolBuilders | ||
|
||
# Composer | ||
vendor/ | ||
composer.lock | ||
|
||
# Node & npm | ||
npm_modules/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,13 +4,17 @@ php: | |
- 5.6 | ||
- 7.0 | ||
- 7.1 | ||
- nightly | ||
- hhvm | ||
|
||
sudo: false | ||
|
||
matrix: | ||
allow_failures: | ||
- php: hhvm | ||
- php: 5.3 | ||
- php: 5.4 | ||
- php: 5.5 | ||
- php: nightly | ||
fast_finish: true | ||
|
||
before_install: | ||
|
@@ -22,38 +26,37 @@ env: | |
- PREFER_LOWEST="" | ||
|
||
before_script: | ||
- composer update --prefer-dist $PREFER_LOWEST | ||
- composer update --ignore-platform-reqs --prefer-dist $PREFER_LOWEST | ||
- composer --optimize-autoloader --no-interaction | ||
|
||
script: | ||
- bin/phpunit --configuration . --coverage-clover=build/logs/clover.xml --coverage-html=build/html/coverage | ||
|
||
after_script: | ||
# We upload only for reference platform! This is our base for further code analyses and so on. | ||
- if [ $(phpenv version-name) == "5.6" ] && [ "$PREFER_LOWEST" == "--prefer-lowest" ]; then bin/codacycoverage clover build/logs/clover.xml; fi | ||
- if [ $(phpenv version-name) == "5.6" ] && [ "$PREFER_LOWEST" == "--prefer-lowest" ]; then bin/codacycoverage clover build/logs/clover.xml > /dev/null 2>&1; fi | ||
|
||
after_success: | ||
# Push coverage to github pages branch | ||
- chmod +x ./update-gh-pages.sh | ||
- if [ $(phpenv version-name) == "5.4" ] && [ "$PREFER_LOWEST" == "--prefer-lowest" ]; then bash ./update-gh-pages.sh; fi | ||
- if [ $(phpenv version-name) == "5.6" ] && [ "$PREFER_LOWEST" == "--prefer-lowest" ]; then bash ./update-gh-pages.sh; fi | ||
# CREATE GIT TAG | ||
- git config --global user.email "[email protected]" | ||
- git config --global user.name "Travis" | ||
- export GIT_TAG=build-$TRAVIS_BRANCH-$(date -u "+%Y-%m-%d")-$TRAVIS_BUILD_NUMBER | ||
- echo -n $GIT_TAG > public/version | ||
- git commit -m "Set build VERSION number" public/version | ||
- git tag $GIT_TAG -a -m "Generated tag from TravisCI build $TRAVIS_BUILD_NUMBER" | ||
- git push --tags --quiet https://[email protected]/clickalicious/Rng > /dev/null 2>&1 | ||
- git push --tags --quiet https://[email protected]/clickalicious/rng > /dev/null 2>&1 | ||
|
||
# blacklist | ||
# Blacklist the pushed tag from above to prevent black hole | ||
branches: | ||
except: | ||
- /^build-[0-9a-z\-]*/ | ||
|
||
# Who to notify? | ||
notifications: | ||
slack: | ||
secure: "a9zWeVc7lcZy1bKrtnYl/kvKgFKdifJdZL1nrk1zy+xv0VmXirFgp+pWMa97Ysnhh2mOQhwCnRUtucahMdjw+ABabeb8LSDP28Y0i9PJNLwjGLsT8W1wbtfqQuiJ/h5zEYNiHri9mfs1ksuCut8v6c3/LtEpGWyS0E05XV+S1v4=" | ||
secure: fNU5MckS6fgDKhMeFPC0D0Qj7anIHQP7DlPf+WzDePbC7QXZWMiIR9QGY5T5VKxuezwVQZVZzUAYdlBSJE0WN18v3S2ulxvY1ZuWK9NeGsA5giuBVaamHlQzBkFqHk5i9L0hJ0WAsoPp4RqLzWp/y+w8fBxeNEywEttEqMk5Wx4= | ||
email: | ||
recipients: | ||
- [email protected] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
url: http://www.flaticon.com/free-icon/random-button_98711 | ||
color: #FFCC00 | ||
author: <div>Icons made by <a href="http://www.freepik.com" title="Freepik">Freepik</a> from <a href="http://www.flaticon.com" title="Flaticon">www.flaticon.com</a> is licensed by <a href="http://creativecommons.org/licenses/by/3.0/" title="Creative Commons BY 3.0" target="_blank">CC 3.0 BY</a></div> |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
<?php | ||
|
||
/** | ||
* (The MIT license) | ||
* Copyright 2017 clickalicious, Benjamin Carl | ||
* | ||
* Permission is hereby granted, free of charge, to any person obtaining a | ||
* copy of this software and associated documentation files (the | ||
* "Software"), to deal in the Software without restriction, including | ||
* without limitation the rights to use, copy, modify, merge, publish, | ||
* distribute, sublicense, and/or sell copies of the Software, and to | ||
* permit persons to whom the Software is furnished to do so, subject to | ||
* the following conditions: | ||
* | ||
* The above copyright notice and this permission notice shall be | ||
* included in all copies or substantial portions of the Software. | ||
* | ||
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, | ||
* EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
* MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND | ||
* NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS | ||
* BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN | ||
* ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN | ||
* CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE | ||
* SOFTWARE. | ||
*/ | ||
|
||
namespace Clickalicious\Rng; | ||
|
||
/** | ||
* Class Exception | ||
* | ||
* @package Rng | ||
*/ | ||
class CryptographicWeaknessException extends \UnexpectedValueException | ||
{ | ||
// Intentionally left empty | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.