Skip to content

Commit

Permalink
Merge pull request #21 from boesing/bugfix/checkout-before-interact-w…
Browse files Browse the repository at this point in the history
…ith-source

bugfix: checkout the source before interacting with it
  • Loading branch information
weierophinney authored Apr 7, 2021
2 parents edc4e1f + 097f2b3 commit eee0134
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions entrypoint.sh
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,8 @@ update-alternatives --quiet --set php /usr/bin/php${PHP}
update-alternatives --quiet --set php-config /usr/bin/php-config${PHP}
update-alternatives --quiet --set phpize /usr/bin/phpize${PHP}

checkout

# Is there a pre-install script available?
if [ -x ".laminas-ci/pre-install.sh" ];then
echo "Executing pre-install commands from .laminas-ci/pre-install.sh"
Expand Down Expand Up @@ -169,8 +171,6 @@ echo "PHP version: $(php --version)"
echo "Installed extensions:"
php -m

checkout

composer_install "${DEPS}" "${PHP}"

if [[ "${COMMAND}" =~ phpunit ]];then
Expand Down

0 comments on commit eee0134

Please sign in to comment.