[TASK] Use PHP lint to check for syntax errors on travis
[Packages/TYPO3.CMS.git] / .travis.yml
index dbbfbec..5966734 100644 (file)
@@ -6,12 +6,6 @@ php:
 env:
   - DB=mysql
 
-branches:
-  only:
-    - TYPO3_6-0
-    - TYPO3_6-1
-    - master
-
 services:
   - memcached
 
@@ -37,4 +31,6 @@ before_script:
   - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/dbimport/cli_users.sql; fi
   - if [[ "$DB" == "mysql" ]]; then mysql -uroot typo3_test < build-environment/dbimport/phpunit.sql; fi
 
-script: php $PWD/typo3/cli_dispatch.phpsh phpunit -c typo3/sysext/core/Build/UnitTests.xml
+script:
+  - phpLint all
+  - php $PWD/typo3/cli_dispatch.phpsh phpunit -c typo3/sysext/core/Build/UnitTests.xml