File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -17,12 +17,13 @@ install:
1717 - composer install --no-interaction --no-dev --no-progress --no-suggest --optimize-autoloader
1818
1919script :
20- - if [[ $BUILD_PHAR == 'true' ]]; then /usr/bin/env php ./bin/php-cs phpcs:build -vvv ; fi
20+ - if [[ $BUILD_PHAR == 'true' && $TRAVIS_TAG != '' ]]; then /usr/bin/env php ./bin/php-cs phpcs:build -vvv ; fi
2121
2222deploy :
2323 provider : releases
2424 api_key : $GITHUB_API_TOKEN
2525 file : build/php-cs.phar
2626 skip_cleanup : true
2727 on :
28+ tags : true
2829 php : ' 7.1'
Original file line number Diff line number Diff line change @@ -121,6 +121,7 @@ protected function addDirectory(string $dir) {
121121 '/test/ ' ,
122122 '/tests/ ' ,
123123 '/Tests/ ' ,
124+ '/Tester/ ' ,
124125 '/doc/ ' ,
125126 '/docs/ ' ,
126127 ];
@@ -133,14 +134,18 @@ protected function addDirectory(string $dir) {
133134 '.gitattributes ' ,
134135 '.gitkeep ' ,
135136 'CHANGELOG ' ,
137+ 'CHANGELOG.md ' ,
138+ 'CHANGELOG.MD ' ,
139+ 'UPGRADING ' ,
140+ 'UPGRADING.md ' ,
141+ 'UPGRADING.MD ' ,
136142 'README ' ,
137143 'README.md ' ,
138144 'README.MD ' ,
139145
140146 ];
141147
142148 foreach (glob (rtrim ($ this ->resolvePath ($ dir ), "/ " ).'/* ' , GLOB_NOSORT ) as $ f ) {
143- // try to omit test stuff..
144149 foreach ($ skipDirs as $ skipDir ) {
145150 if (false !== strpos ($ f , $ skipDir )) {
146151 $ this ->log ->debug ("Skipping \"{$ this ->trimRootPath ($ f )}\"... " );
You can’t perform that action at this time.
0 commit comments