diff --git a/.travis.yml b/.travis.yml index 4cf7723bcc..c1880c8c65 100644 --- a/.travis.yml +++ b/.travis.yml @@ -97,14 +97,15 @@ jobs: - stage: "PHP Unit tests" name: "PHP 7.2" os: windows - language: sh + language: node_js + node_js: 10 env: CI_MODE=test before_install: - choco install php composer mariadb - - export PATH=/c/tools/php72:/c/ProgramData/ComposerSetup/bin:/c/"Program Files"/"MariaDB 10.2"/bin:$PATH + - export PATH=/c/tools/php73:/c/ProgramData/ComposerSetup/bin:/c/"Program Files"/"MariaDB 10.3"/bin:$PATH - PHP_EXTENSIONS="mysqli curl bz2 gd2 pdo_mysql" - - for php_ext in $PHP_EXTENSIONS ; do sed -i -e "s/^;extension=${php_ext}/extension=${php_ext}/" /c/tools/php72/php.ini ; done - - sed -i -e 's/^memory_limit = .*/memory_limit = -1/' /c/tools/php72/php.ini + - for php_ext in $PHP_EXTENSIONS ; do sed -i -e "s/^;extension=${php_ext}/extension=${php_ext}/" /c/tools/php73/php.ini ; done + - sed -i -e 's/^memory_limit = .*/memory_limit = -1/' /c/tools/php73/php.ini - find . -type f -name "*.php" -print0 | xargs -0 sed -i ':a;N;$!ba;s/\r//g' - stage: "PHP Unit tests"