-
Notifications
You must be signed in to change notification settings - Fork 0
/
build-php-drupal.yml
33 lines (32 loc) · 1.02 KB
/
build-php-drupal.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Purpose:
# Install composer dependencies for a Drupal application
#
# Configuration:
# Adjust the needed artifact paths
#
include: 'https://raw.githubusercontent.com/xima-media/xima-gitlab-ci-templates/1.x/build/.build-php.yml'
build:php:
extends: .build-php
cache:
paths:
- ${PATH_CI_DIR}/.composer
- ${PATH_APP_DIR}/vendor/
- ${PATH_APP_DIR}/web/core/
- ${PATH_APP_DIR}/web/modules/contrib/
- ${PATH_APP_DIR}/web/themes/contrib/
- ${PATH_APP_DIR}/web/libraries/
- ${PATH_APP_DIR}/web/autoload.php
- ${PATH_APP_DIR}/web/index.php
- ${PATH_APP_DIR}/web/robots.txt
artifacts:
paths:
- ${PATH_APP_DIR}/vendor/
- ${PATH_APP_DIR}/web/core/
- ${PATH_APP_DIR}/web/modules/contrib/
- ${PATH_APP_DIR}/web/themes/contrib/
- ${PATH_APP_DIR}/web/libraries/
- ${PATH_APP_DIR}/web/autoload.php
- ${PATH_APP_DIR}/web/index.php
- ${PATH_APP_DIR}/web/robots.txt
before_script:
- composer config -g cache-dir "${PATH_CI_DIR}/.composer"