]> granicus.if.org Git - php/commitdiff
we are not running database tests on macos, there is no need to install mysql or...
authorJoe Watkins <krakjoe@php.net>
Wed, 12 Jun 2019 12:36:12 +0000 (14:36 +0200)
committerJoe Watkins <krakjoe@php.net>
Wed, 12 Jun 2019 13:09:28 +0000 (15:09 +0200)
azure/macos/brew.yml
azure/macos/job.yml

index 211a3b57c1ee75c7fe9f5ea2cb43289149918622..f4a23ef3de58ada88a93e0fc80fd93fd71b735f6 100644 (file)
@@ -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'
index 075aa272383ff11c2e07d3c2774e911d18618ac0..c7374cd8b72eea95e773a68ab4f75f1360899bc4 100644 (file)
@@ -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 }}