Enable cache for vendor folder #265

This commit is contained in:
Jelle Kok 2016-09-01 20:20:05 +02:00 committed by GitHub
commit 6eb07c1e40
2 changed files with 15 additions and 6 deletions

View File

@ -1,3 +1,7 @@
cache:
mount:
- vendor
- .git
build:
image: yveshoppe/joomla-systemtests:latest
commands:

View File

@ -3,17 +3,22 @@ VERSION="$(git rev-parse --short HEAD)"
echo "Started building at $(date) - $(whoami)"
# Update composer
composer self-update
# show directory listing
ls -al
ls -al vendor
mount
# Install dependencies
composer install --no-interaction --no-progress
mkdir -p /tests/www
cp -r ./* /tests/www
cd /tests/www
# Update composer
composer self-update
# Install dependencies
composer install --no-interaction --no-progress
cp jorobo.dist.ini jorobo.ini
cp RoboFile.dist.ini RoboFile.ini