-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
233 changed files
with
2,743 additions
and
2,648 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -7,7 +7,8 @@ php: | |
|
||
env: | ||
matrix: | ||
- DB=mysql DATABASE_TEST_URL='mysql://root:[email protected]/cakephp_test' | ||
- DB=mysql | ||
|
||
global: | ||
- DEFAULT=1 | ||
- PHP=1 | ||
|
@@ -22,6 +23,7 @@ matrix: | |
- php: 7.2 | ||
env: PHPCS=1 DEFAULT=0 | ||
- php: 7.3 | ||
- php: 7.4 | ||
- language: node_js | ||
env: JS=1 DEFAULT=0 PHP=0 | ||
node_js: | ||
|
@@ -34,7 +36,7 @@ matrix: | |
- google-chrome-stable | ||
script: yarn travis | ||
|
||
dist: trusty | ||
dist: bionic | ||
|
||
services: | ||
- mysql | ||
|
@@ -47,22 +49,26 @@ cache: | |
before_install: | ||
- phpenv config-rm xdebug.ini | ||
|
||
- if [ $PHP = 1 ] && [ $DB = 'mysql' ]; then mysql -u root -e 'CREATE DATABASE cakephp_test;'; fi | ||
- if [ $PHP = 1 ] && [ $DB = 'mysql' ]; then mysql -u root -e "USE mysql; UPDATE user SET password=PASSWORD('password') WHERE user='root'; FLUSH PRIVILEGES;"; fi | ||
- | | ||
if [ $PHP = 1 ] && [ $DB = 'mysql' ]; then | ||
mysql -u root -e 'CREATE DATABASE cakephp_test;'; | ||
echo 'DATABASE_TEST_URL="mysql://root:@127.0.0.1/cakephp_test"' >> config/.env; | ||
fi | ||
- if [$PHP = 1 ]; then pecl channel-update pecl.php.net; fi | ||
- | | ||
if [ $PHP = 1 ] && [[ ${TRAVIS_PHP_VERSION} != "5.6" ]]; then | ||
echo 'extension = memcached.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; | ||
if [ $PHP = 1 ]; then | ||
pecl channel-update pecl.php.net; | ||
echo 'extension = apcu.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; | ||
echo 'apc.enable_cli = 1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; | ||
fi | ||
- if [$PHP = 1 ]; then echo 'extension = apcu.so' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi | ||
- if [$PHP = 1 ]; then echo 'apc.enable_cli = 1' >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi | ||
- if [[ ${TRAVIS_PHP_VERSION:0:1} == "7" ]] ; then echo "yes" | pecl install channel://pecl.php.net/apcu-5.1.5 || true; fi | ||
- sudo locale-gen da_DK | ||
- sudo locale-gen da_DK.UTF-8 | ||
|
||
before_script: | ||
install: | ||
- if [ $PHP = 1 ]; then composer install --prefer-source --no-interaction; fi | ||
- if [ $JS = 1 ]; then yarn; fi | ||
|
||
before_script: | ||
- if [ $PHPCS = 1 ]; then vendor/bin/phpcs --config-set installed_paths vendor/cakephp/cakephp-codesniffer; fi | ||
|
||
script: | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.