1
0
mirror of https://github.com/php/php-src.git synced 2026-03-30 12:13:02 +02:00

we are not running database tests on macos, there is no need to install mysql or start pg

This commit is contained in:
Joe Watkins
2019-06-12 14:36:12 +02:00
parent cc89d26096
commit a7f8a2b731
2 changed files with 2 additions and 14 deletions

View 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'

View 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 }}