com php-src: we are not running database tests on macos, there is no need to install mysql or start pg: azure/macos/brew.yml azure/macos/job.yml
| From: | Joe Watkins | Date: | Wed, 12 Jun 2019 13:09:28 +0000 |
| Subject: | com php-src: we are not running database tests on macos, there is no need to install mysql or start pg: azure/macos/brew.yml azure/macos/job.yml | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-106734@lists.php.net to get a copy of this message | ||
Commit: a7f8a2b7312e2cc2e9feebf399dbe53cd50cb6d3
Author: Joe Watkins <krakjoe@php.net> Wed, 12 Jun 2019 14:36:12 +0200
Parents: cc89d260968746f1048029d711f113d2a9688a13
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a7f8a2b7312e2cc2e9feebf399dbe53cd50cb6d3
Log:
we are not running database tests on macos, there is no need to install mysql or start pg
Changed paths:
M azure/macos/brew.yml
M azure/macos/job.yml
Diff:
diff --git a/azure/macos/brew.yml b/azure/macos/brew.yml
index 211a3b5..f4a23ef 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 075aa27..c7374cd 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 }}