PHPunit already looks for syntax errors
This commit is contained in:
parent
71d99f3434
commit
0d803ef5a1
|
@ -37,8 +37,6 @@ before_script:
|
||||||
- phpenv rehash
|
- phpenv rehash
|
||||||
|
|
||||||
script:
|
script:
|
||||||
# Search for PHP syntax errors.
|
|
||||||
- find . \( -name '*.php' -not -path "./vendor/*" \) -exec php -lf {} \;
|
|
||||||
# Run PHPUnit tests.
|
# Run PHPUnit tests.
|
||||||
- phpunit -c phpunit.xml.dist
|
- phpunit -c phpunit.xml.dist
|
||||||
# WordPress Coding Standards.
|
# WordPress Coding Standards.
|
||||||
|
|
Loading…
Reference in New Issue