[TASK] Add PHP 5.6 as travis-ci environment 13/29913/3
authorChristian Kuhn <lolli@schwarzbu.ch>
Tue, 6 May 2014 21:39:25 +0000 (23:39 +0200)
committerChristian Kuhn <lolli@schwarzbu.ch>
Tue, 6 May 2014 22:33:41 +0000 (00:33 +0200)
travis-ci already provides a PHP 5.6 beta build.
It currently executes unit, functional and linting successfully
and is added to the list of standard environments for now.

Change-Id: Ibde2364564afe18f602f75174b779527b55c25bc
Reviewed-on: https://review.typo3.org/29913
Reviewed-by: Christian Kuhn
Tested-by: Christian Kuhn
.travis.yml

index 25ff7fe..165d67d 100644 (file)
@@ -4,6 +4,7 @@ php:
   - 5.3
   - 5.4
   - 5.5
+  - 5.6
 
 env:
   - DB=mysql
@@ -20,13 +21,13 @@ notifications:
 
 before_script:
   - >
-    if [[ "$TRAVIS_PHP_VERSION" != "5.5" ]]; then
+    if [[ "$TRAVIS_PHP_VERSION" = "5.3" || "$TRAVIS_PHP_VERSION" = "5.4" ]]; then
         echo "extension = apc.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
         echo "apc.enable_cli=1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
         echo "apc.slam_defense=0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
     fi
   - >
-    if [[ "$TRAVIS_PHP_VERSION" != "5.5" ]]; then
+    if [[ "$TRAVIS_PHP_VERSION" = "5.3" || "$TRAVIS_PHP_VERSION" = "5.4" ]]; then
         pecl install igbinary > /dev/null;
     fi
   - echo "extension = memcache.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini