mirror of
https://github.com/kamilwylegala/cakephp2-php8.git
synced 2024-11-15 03:18:26 +00:00
Test against PHP 7.2
Install `mcrypt` from PECL
This commit is contained in:
parent
549c181926
commit
46296db373
1 changed files with 5 additions and 0 deletions
|
@ -10,6 +10,7 @@ php:
|
||||||
- 5.6
|
- 5.6
|
||||||
- 7.0
|
- 7.0
|
||||||
- 7.1
|
- 7.1
|
||||||
|
- 7.2
|
||||||
|
|
||||||
env:
|
env:
|
||||||
matrix:
|
matrix:
|
||||||
|
@ -38,6 +39,9 @@ matrix:
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
env: DB=mysql PHPUNIT=5.7.19
|
env: DB=mysql PHPUNIT=5.7.19
|
||||||
|
|
||||||
|
- php: 7.2
|
||||||
|
env: DB=mysql PHPUNIT=5.7.19
|
||||||
|
|
||||||
|
|
||||||
before_script:
|
before_script:
|
||||||
- composer require "phpunit/phpunit=$PHPUNIT"
|
- composer require "phpunit/phpunit=$PHPUNIT"
|
||||||
|
@ -52,6 +56,7 @@ 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
|
||||||
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.3" ]] ; then pecl install timezonedb ; fi
|
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "5.3" ]] ; then pecl install timezonedb ; fi
|
||||||
|
- if [[ ${TRAVIS_PHP_VERSION:0:3} == "7.2" ]] ; then pecl install mcrypt ; fi
|
||||||
- sh -c "if [ '$PHPCS' = '1' ]; then composer require 'cakephp/cakephp-codesniffer:1.*'; fi"
|
- sh -c "if [ '$PHPCS' = '1' ]; then composer require 'cakephp/cakephp-codesniffer:1.*'; fi"
|
||||||
- sh -c "if [ '$PHPCS' = '1' ]; then vendors/bin/phpcs --config-set installed_paths vendors/cakephp/cakephp-codesniffer; fi"
|
- sh -c "if [ '$PHPCS' = '1' ]; then vendors/bin/phpcs --config-set installed_paths vendors/cakephp/cakephp-codesniffer; fi"
|
||||||
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
- echo "extension = memcached.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||||
|
|
Loading…
Reference in a new issue