Gitlab CI take two

This commit is contained in:
Timothy Warren 2016-07-18 09:55:06 -04:00
parent a178ac86c6
commit c84e76a869
2 changed files with 10 additions and 2 deletions

View File

@ -1,6 +1,16 @@
before_script:
# Install dependencies
- bash build/docker_install.sh > /dev/null
# Install composer dependencies
- curl -sS https://getcomposer.org/installer | php
- php composer.phar install
# Composer stores all downloaded packages in the vendor/ directory.
# Do not use the following if the vendor/ directory is commited to
# your git repository.
cache:
paths:
- vendor/
services:
- redis:latest

View File

@ -6,9 +6,7 @@
set -xe
# Install git (the php image doesn't have it) which is required by composer
# And for some reason apt-utils is not installed
apt-get update -yqq
apt-get install apt-utils
apt-get install git sqlite3 -yqq
# Install phpunit, the tool that we will use for testing