1
0
mirror of https://github.com/Seldaek/monolog.git synced 2025-09-09 12:40:50 +02:00

Add linting to Travis tests

Protect against syntax compatibility issues such as the non-5.3
compatible array syntax corrected in 5785a9a by running a linter during
Travis CI testing for pull requests.

Closes #655
This commit is contained in:
Bryan Davis
2015-09-27 13:18:03 -06:00
parent ec0b383ace
commit 95d1370eb3
2 changed files with 7 additions and 3 deletions

View File

@@ -21,4 +21,4 @@ before_script:
- if [ "$deps" == "low" ]; then composer update --prefer-source --prefer-lowest --prefer-stable; fi
- if [ "$deps" != "low" ]; then composer install --prefer-source; fi
script: ./vendor/bin/phpunit
script: composer test