From ce3700f3a076ebdf0bc10f3c0bbff2a0930b443f Mon Sep 17 00:00:00 2001 From: Eric Vergnaud Date: Sat, 13 Feb 2021 19:37:17 +0800 Subject: [PATCH] change package --- .circleci/scripts/install-linux-php.sh | 5 ++++- .circleci/scripts/run-tests-php.sh | 2 -- 2 files changed, 4 insertions(+), 3 deletions(-) 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..."