summaryrefslogtreecommitdiff
path: root/azure/macos
diff options
context:
space:
mode:
authorJoe Watkins <krakjoe@php.net>2019-06-12 14:36:12 +0200
committerJoe Watkins <krakjoe@php.net>2019-06-12 15:09:28 +0200
commita7f8a2b7312e2cc2e9feebf399dbe53cd50cb6d3 (patch)
tree89b6738ee484bb79dd880a993dc85af5e3684565 /azure/macos
parentcc89d260968746f1048029d711f113d2a9688a13 (diff)
downloadphp-git-a7f8a2b7312e2cc2e9feebf399dbe53cd50cb6d3.tar.gz
we are not running database tests on macos, there is no need to install mysql or start pg
Diffstat (limited to 'azure/macos')
-rw-r--r--azure/macos/brew.yml5
-rw-r--r--azure/macos/job.yml11
2 files changed, 2 insertions, 14 deletions
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 }}