update travis.yml to test on php 5.5

This commit is contained in:
Ceeram 2013-06-05 12:05:15 +02:00
parent 5d0d5fb96c
commit 4e9fb1f01a

View file

@ -4,6 +4,7 @@ php:
- 5.2 - 5.2
- 5.3 - 5.3
- 5.4 - 5.4
- 5.5
env: env:
- DB=mysql - DB=mysql
@ -25,8 +26,8 @@ before_script:
- sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE SCHEMA test3;' -U postgres -d cakephp_test; fi" - sh -c "if [ '$DB' = 'pgsql' ]; then psql -c 'CREATE SCHEMA test3;' -U postgres -d cakephp_test; fi"
- chmod -R 777 ./app/tmp - chmod -R 777 ./app/tmp
- sudo apt-get install lighttpd - sudo apt-get install lighttpd
- pear channel-discover pear.cakephp.org - sh -c "if [ '$PHPCS' = '1' ]; then pear channel-discover pear.cakephp.org; fi"
- pear install --alldeps cakephp/CakePHP_CodeSniffer - sh -c "if [ '$PHPCS' = '1' ]; then pear install --alldeps cakephp/CakePHP_CodeSniffer; fi"
- phpenv rehash - phpenv rehash
- set +H - set +H
- echo "<?php - echo "<?php
@ -113,4 +114,4 @@ script:
- sh -c "if [ '$PHPCS' != '1' ]; then ./lib/Cake/Console/cake test core AllTests --stderr; else phpcs -p --extensions=php --standard=CakePHP ./lib/Cake; fi" - sh -c "if [ '$PHPCS' != '1' ]; then ./lib/Cake/Console/cake test core AllTests --stderr; else phpcs -p --extensions=php --standard=CakePHP ./lib/Cake; fi"
notifications: notifications:
email: false email: false