Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
9d1a2da
commit 2f3ca57
Showing
16 changed files
with
138 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,7 @@ | ||
<?php | ||
/** | ||
* Sake | ||
* | ||
* @link http://github.com/sandrokeil/HtmlElement for the canonical source repository | ||
* @copyright Copyright (c) 2014 Sandro Keil | ||
* @copyright Copyright (c) 2014-2017 Sandro Keil | ||
* @license http://github.com/sandrokeil/HtmlElement/blob/master/LICENSE.txt New BSD License | ||
*/ | ||
|
||
return array( | ||
); |
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,25 +1,33 @@ | ||
language: php | ||
|
||
php: | ||
- 5.3 | ||
- 5.4 | ||
- 5.5 | ||
- 5.6 | ||
- hhvm | ||
|
||
matrix: | ||
allow_failures: | ||
- php: hhvm | ||
fast_finish: true | ||
include: | ||
- php: 7.1 | ||
env: | ||
- DEPENDENCIES="" | ||
- TEST_COVERAGE=true | ||
- php: 7.1 | ||
env: | ||
- DEPENDENCIES="--prefer-lowest --prefer-stable" | ||
- TEST_COVERAGE=true | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
- $HOME/.php-cs-fixer | ||
- $HOME/.local | ||
|
||
before_script: | ||
- mkdir -p "$HOME/.php-cs-fixer" | ||
- phpenv config-rm xdebug.ini | ||
- composer self-update | ||
- composer install --dev --prefer-source | ||
- composer update --prefer-dist $DEPENDENCIES | ||
|
||
script: | ||
- ./vendor/bin/phpunit | ||
- ./vendor/bin/phpcs --standard=PSR2 ./src/ ./test | ||
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/php-cs-fixer fix -v --diff --dry-run; fi | ||
- if [[ $EXECUTE_CS_CHECK == 'true' ]]; then ./vendor/bin/docheader check src/ tests/; fi | ||
- if [[ $TEST_COVERAGE == 'true' ]]; then php -dzend_extension=xdebug.so ./vendor/bin/phpunit --coverage-text --coverage-clover ./build/logs/clover.xml; else ./vendor/bin/phpunit; fi | ||
|
||
after_script: | ||
- php vendor/bin/coveralls -v | ||
- wget https://scrutinizer-ci.com/ocular.phar | ||
- php ocular.phar code-coverage:upload --format=php-clover build/logs/clover.xml | ||
after_success: | ||
- if [[ $TEST_COVERAGE == 'true' ]]; then php vendor/bin/coveralls -v; fi |
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 was deleted.
Oops, something went wrong.
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 was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.