Skip to content

Commit

Permalink
Merge pull request #3 from turkdevops/snyk-upgrade-67f13c02c45ccd04fb…
Browse files Browse the repository at this point in the history
…49986ac3cc7ad5

[Snyk] Upgrade simple-git from 1.110.0 to 1.132.0
  • Loading branch information
devturks-team authored Aug 20, 2020
2 parents bafab63 + d992b89 commit 84032e7
Show file tree
Hide file tree
Showing 3 changed files with 307 additions and 122 deletions.
26 changes: 26 additions & 0 deletions azure-pipelines.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@
# PHP
# Test and package your PHP project.
# Add steps that run tests, save build artifacts, deploy, and more:
# https://docs.microsoft.com/azure/devops/pipelines/languages/php

trigger:
- master

pool:
vmImage: 'ubuntu-latest'

variables:
phpVersion: 7.2

steps:
- 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)
sudo update-alternatives --set php-cgi /usr/bin/php-cgi$(phpVersion)
sudo update-alternatives --set phar.phar /usr/bin/phar.phar$(phpVersion)
php -version
displayName: 'Use PHP version $(phpVersion)'

- script: composer install --no-interaction --prefer-dist
displayName: 'composer install'
Loading

0 comments on commit 84032e7

Please sign in to comment.