Gitlab CI take two
This commit is contained in:
parent
a178ac86c6
commit
c84e76a869
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user