forked from usdoj/foia-api
-
Notifications
You must be signed in to change notification settings - Fork 0
/
acquia-pipelines.yml
43 lines (41 loc) · 1.19 KB
/
acquia-pipelines.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
34
35
36
37
38
39
40
41
42
43
version: 1.2.0
services:
- mysql
- php:
version: 7.2
variables:
global:
COMPOSER_BIN: $SOURCE_DIR/vendor/bin
BLT_DIR: $SOURCE_DIR/vendor/acquia/blt
events:
build:
steps:
- setup-env:
type: script
script:
- composer validate --no-check-all --ansi
- composer install --ansi
- source ${BLT_DIR}/scripts/pipelines/setup_env
# - nvm install v6.9.1
# - npm install --global yarn
- validate:
type: script
script:
- source ${BLT_DIR}/scripts/pipelines/validate
# Uncomment these lines to test database updates using live content.
# - test-updates:
# type: script
# script:
# - blt drupal:sync:default:site
- setup-app:
type: script
script:
- source ${BLT_DIR}/scripts/pipelines/setup_app
- tests:
type: script
script:
- source ${BLT_DIR}/scripts/pipelines/tests
- build-artifact:
type: script
script:
- source ${BLT_DIR}/scripts/pipelines/build_artifact