-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathacquia-pipelines.yml
44 lines (43 loc) · 1.54 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
44
# This is an example Acquia Pipelines configuration file. For complete
# documentation and other examples, see https://docs.acquia.com/acquia-cloud/develop/pipelines/yaml/
#
# If you'd like a project which sets up testing and Pipelines for you, consider
# using Acquia BLT: https://github.com/acquia/blt
version: 1.1.0
services:
- mysql
- php:
version: 7.1
events:
build:
steps:
# Build a development codebase suitable for testing.
# Uncomment these lines if you have included testing dependencies in
# Composer's "require-dev" section.
# - build-dev:
# type: script
# script:
# - composer validate --no-check-all --ansi
# - composer install
#
# Install application.
# Uncomment these lines if you have tests defined for your application.
# (Note that you will also need to uncomment the "build-dev" step above so
# that you have a codebase to work with.) This assumes you have a
# well-configured settings.php file committed to your repo and all testing
# dependencies like Behat and PHPUnit as dev
# dependencies.
# - test:
# type: script
# script:
# - drush site-install
# - drush runserver --default-server=builtin 8080 &>/dev/null &
# - behat
# - phpunit
#
# Generate artifact. This is the codebase that will be available in the
# Acquia Cloud interface.
- build-artifact:
type: script
script:
- composer install --no-dev --optimize-autoloader