Skip to content

Commit

Permalink
Update azure-pipelines.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
realodix committed Aug 30, 2019
1 parent 7bc3508 commit 9088cfd
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ variables:
phpVersion: 7.2

steps:
- bash: |
- script: |
sudo update-alternatives --set php /usr/bin/php$(phpVersion)
sudo update-alternatives --set phar /usr/bin/phar$(phpVersion)
sudo update-alternatives --set phpdbg /usr/bin/phpdbg$(phpVersion)
Expand All @@ -22,28 +22,28 @@ steps:
php -version
displayName: 'Use PHP version $(phpVersion)'

- bash: |
- script: |
sudo apt-get install -y mysql-server
sudo mysql -uroot -proot -e "use mysql; update user set authentication_string=PASSWORD('') where User='root'; update user set plugin='mysql_native_password';FLUSH PRIVILEGES;"
sudo mysql -u root -e 'create database urlhub_test;'
displayName: 'Installing System Dependencies'

- bash: |
- script: |
mysql --version
displayName: 'MySQL Version'

- bash: |
cp .env.example .env
displayName: 'Environment Setup'

- bash: |
- script: |
composer global require hirak/prestissimo
composer install --no-interaction --prefer-dist --no-suggest
composer --version
displayName: 'Installing Package Dependencies'

- bash: |
php artisan key:generate
- script: |
php artisan key:generate --env=testing
displayName: 'Running Laravel Artisan'

- bash: |
Expand Down

0 comments on commit 9088cfd

Please sign in to comment.