still trying to make gitlab ci work

This commit is contained in:
Marcel Kapfer (mmk2410) 2016-06-04 16:46:36 +02:00
parent 6b7bf70ec1
commit 25f1ff3188
2 changed files with 17 additions and 4 deletions

15
ci/docker_install.sh Normal file
View file

@ -0,0 +1,15 @@
#!/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