[TASK] Use PHP lint to check for syntax errors on travis 51/20651/2
authorHelmut Hummel <helmut.hummel@typo3.org>
Wed, 8 May 2013 19:17:01 +0000 (21:17 +0200)
committerHelmut Hummel <helmut.hummel@typo3.org>
Wed, 8 May 2013 21:52:28 +0000 (23:52 +0200)
Change-Id: I86615ea6bc17e4341077caebc6730469296c5502
Reviewed-on: https://review.typo3.org/20651
Reviewed-by: Helmut Hummel
Tested-by: Helmut Hummel
.travis.yml

index 444e020..5966734 100644 (file)
@@ -6,11 +6,6 @@ php:
 env:
   - DB=mysql
 
-branches:
-  only:
-    - TYPO3_6-0
-    - master
-
 services:
   - memcached
 
@@ -36,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