Skip to content

Commit c22ffa9

Browse files
committed
Fix mac issues
1 parent 6ed40b2 commit c22ffa9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

build.sh

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ git log origin/master... | grep -q SKIP_BUILD && exit 0
66
[ -z "$UPDATE_COVERAGE" ] || composer require satooshi/php-coveralls:v1.1.0
77

88
composer install
9-
git diff $(git merge-base origin/master HEAD) > diff.txt
9+
[ -z "$UPDATE_COVERAGE" ] || git diff $(git merge-base origin/master HEAD) > diff.txt
1010
phpcs --standard=psr2 src
1111
phpcs --standard=psr2 --ignore=bootstrap.php,fixtures/* tests
1212

@@ -15,6 +15,6 @@ phpmd tests text cleancode,codesize,controversial,unusedcode --exclude fixtures
1515

1616
./vendor/bin/phpunit
1717

18-
bin/diffFilter --phpunit diff.txt report/coverage.xml
18+
[ -z "$UPDATE_COVERAGE" ] || bin/diffFilter --phpunit diff.txt report/coverage.xml
1919

2020
[ -z "$UPDATE_COVERAGE" ] || php vendor/bin/coveralls -v

0 commit comments

Comments
 (0)