diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2020-03-18 10:11:15 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-03-18 11:46:27 +0100 |
commit | 372331fc6dc17748b426e213f29811e5910ed6c9 (patch) | |
tree | 190286a8ee211f1adc3df9bf90eaa00831c4caac /azure/job.yml | |
parent | 9659a86fc3b0bbaacde8f4356f7c71be07684825 (diff) | |
download | php-git-372331fc6dc17748b426e213f29811e5910ed6c9.tar.gz |
Use "set -e" in some pipeline steps
Diffstat (limited to 'azure/job.yml')
-rw-r--r-- | azure/job.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/azure/job.yml b/azure/job.yml index 918c107118..020f69c13c 100644 --- a/azure/job.yml +++ b/azure/job.yml @@ -18,6 +18,7 @@ jobs: displayName: 'Make Build' - template: install.yml - script: | + set -e 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;" |