diff --git a/.circleci/scripts/install-linux-php.sh b/.circleci/scripts/install-linux-php.sh index 501bc3a71..863668f29 100755 --- a/.circleci/scripts/install-linux-php.sh +++ b/.circleci/scripts/install-linux-php.sh @@ -7,9 +7,12 @@ sudo apt-get update -qq sudo apt update -sudo apt install php-cli unzip +sudo apt install php-all-dev +php -v + sudo apt install composer git clone https://github.com/antlr/antlr-php-runtime.git runtime/PHP +composer install -d runtime/PHP mvn install -DskipTests=true -Dmaven.javadoc.skip=true -B -V \ No newline at end of file diff --git a/.circleci/scripts/run-tests-php.sh b/.circleci/scripts/run-tests-php.sh index 0c00f0e12..67a87aa7c 100755 --- a/.circleci/scripts/run-tests-php.sh +++ b/.circleci/scripts/run-tests-php.sh @@ -4,8 +4,6 @@ set -euo pipefail php -v -composer install -d runtime/PHP - php_path=$(which php) pushd runtime-testsuite echo "running maven tests..."