diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-12 15:09:43 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-06-12 15:41:00 +0200 |
commit | e0d207010865dc7f23d322f07f1540112da7124c (patch) | |
tree | 98cfd145186e0f18343f73a68ef00fccdae93daa /azure/setup.yml | |
parent | ff7fd3dc858eb71234ee2f38f2c2f58050927b8b (diff) | |
download | php-git-e0d207010865dc7f23d322f07f1540112da7124c.tar.gz |
Use shared setup.yml on azure
Make sure things stay synchronized between different x64 jobs.
Diffstat (limited to 'azure/setup.yml')
-rw-r--r-- | azure/setup.yml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/azure/setup.yml b/azure/setup.yml new file mode 100644 index 0000000000..dbf7921c47 --- /dev/null +++ b/azure/setup.yml @@ -0,0 +1,9 @@ +steps: + - script: | + set -e + sudo service mysql start + sudo service postgresql start + mysql -uroot -proot -e "CREATE DATABASE IF NOT EXISTS test" + sudo -u postgres psql -c "ALTER USER postgres PASSWORD 'postgres';" + sudo -u postgres psql -c "CREATE DATABASE test;" + displayName: 'Setup' |