diff --git a/tests/install_deps.sh b/tests/install_deps.sh index 4706270..936a566 100755 --- a/tests/install_deps.sh +++ b/tests/install_deps.sh @@ -1,17 +1,17 @@ #!/bin/bash export PATH=$PATH:~/.phpenv/versions/$(phpenv version-name)/bin -cd /tmp -git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP -cd PHP-CPP -make -j16 -sudo make install +cd /tmp && +git clone https://github.com/CopernicaMarketingSoftware/PHP-CPP && +cd PHP-CPP && +make -j16 && +sudo make install && -cd ../ -git clone https://github.com/danog/PrimeModule-ext -cd PrimeModule-ext -make -j16 -echo "extension=$PWD/primemodule.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini +cd ../ && +git clone https://github.com/danog/PrimeModule-ext && +cd PrimeModule-ext && +make -j16 && +echo "extension=$PWD/primemodule.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini && cd .. exit 0