Skip to content

Commit

Permalink
Use PHP 7.3 alias.
Browse files Browse the repository at this point in the history
  • Loading branch information
ADmad committed Oct 16, 2018
1 parent 1c8dd01 commit eef876c
Showing 1 changed file with 4 additions and 9 deletions.
13 changes: 4 additions & 9 deletions .travis.yml
Expand Up @@ -5,11 +5,9 @@ php:
- 5.6
- 7.1
- 7.2
- 7.3.0RC1
- 7.3

sudo: required

dist: xenial
dist: trusty

env:
matrix:
Expand All @@ -26,9 +24,6 @@ services:
- mysql

addons:
apt:
packages:
- libzip4
postgresql: "9.4"

cache:
Expand All @@ -48,7 +43,7 @@ matrix:

before_install:
- echo cakephp version && tail -1 VERSION.txt
- if [[ ${TRAVIS_PHP_VERSION} != "7.3.0RC1" ]]; then phpenv config-rm xdebug.ini; fi
- if [[ ${TRAVIS_PHP_VERSION} != "7.3" ]]; then phpenv config-rm xdebug.ini; fi

- if [ $DB = 'mysql' ]; then mysql -u root -e 'CREATE DATABASE cakephp_test;'; fi
- if [ $DB = 'mysql' ]; then mysql -u root -e 'CREATE DATABASE cakephp_test2;'; fi
Expand All @@ -60,7 +55,7 @@ before_install:

- if [[ $DEFAULT = 1 || $PHPSTAN = 1 ]] ; then pecl channel-update pecl.php.net; fi;
- |
if [[ ${TRAVIS_PHP_VERSION} != "7.3.0RC1" && ${TRAVIS_PHP_VERSION} != "5.6" && ($DEFAULT = 1 || $PHPSTAN = 1) ]]; then
if [[ ${TRAVIS_PHP_VERSION} != "7.3" && ${TRAVIS_PHP_VERSION} != "5.6" && ($DEFAULT = 1 || $PHPSTAN = 1) ]]; then
echo 'extension = memcached.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini;
fi
- if [[ $DEFAULT = 1 || $PHPSTAN = 1 ]] ; then echo 'extension = redis.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
Expand Down

0 comments on commit eef876c

Please sign in to comment.