From: Joe Watkins Date: Wed, 12 Jun 2019 12:36:12 +0000 (+0200) Subject: we are not running database tests on macos, there is no need to install mysql or... X-Git-Tag: php-7.4.0alpha2~120^2 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a7f8a2b7312e2cc2e9feebf399dbe53cd50cb6d3;p=php we are not running database tests on macos, there is no need to install mysql or start pg --- diff --git a/azure/macos/brew.yml b/azure/macos/brew.yml index 211a3b57c1..f4a23ef3de 100644 --- a/azure/macos/brew.yml +++ b/azure/macos/brew.yml @@ -9,8 +9,6 @@ steps: automake \ libtool \ bison \ - mysql \ - postgresql \ re2c \ pkg-config \ krb5 \ @@ -31,6 +29,7 @@ steps: gmp \ tidyp \ libxml2\ - openssl@1.1 + openssl@1.1 \ + postgresql brew link icu4c gettext --force displayName: 'brew' diff --git a/azure/macos/job.yml b/azure/macos/job.yml index 075aa27238..c7374cd8b7 100644 --- a/azure/macos/job.yml +++ b/azure/macos/job.yml @@ -69,18 +69,7 @@ jobs: displayName: 'Make Build' - script: | sudo make install - sudo mkdir /etc/php.d - sudo chmod 777 /etc/php.d - echo mysqli.default_socket=/tmp/mysql.sock > /etc/php.d/mysqli.ini - echo pdo_mysql.default_socket=/tmp/mysql.sock > /etc/php.d/pdo_mysql.ini displayName: 'Install Build' - - script: | - brew services start postgresql - createdb `whoami` - createuser -s postgres - psql -U postgres -c "ALTER USER postgres PASSWORD 'postgres';" - psql -U postgres -c "CREATE DATABASE test;" - displayName: 'Setup' - template: test.yml parameters: configurationName: ${{ parameters.configurationName }}