15 lines
301 B
Bash
15 lines
301 B
Bash
#!/bin/bash
|
|
|
|
# Only install dependencies for Docker
|
|
[[ ! -e /.dockerenv ]] && [[ ! -e /.dockerinit ]] && exit 0
|
|
|
|
set -xe
|
|
|
|
# Install git
|
|
apt-get update -yqq
|
|
apt-get install git -yqq
|
|
|
|
# Install phpunit
|
|
curl -o /usr/local/bin/phpunit https://phar.phpunit.de/phpunit.phar
|
|
chmod +x /usr/local/bin/phpunit
|
|
|