-
Notifications
You must be signed in to change notification settings - Fork 14
Expand file tree
/
Copy pathcircle.yml
More file actions
35 lines (34 loc) · 1.29 KB
/
circle.yml
File metadata and controls
35 lines (34 loc) · 1.29 KB
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
# https://circleci.com/docs/configuration#machine
machine:
php:
# https://circleci.com/docs/environment#php
version: 7.0.7
environment:
TERMINUS_SITE: ci-example-d8-composer
TERMINUS_ENV: ci-$CIRCLE_BUILD_NUM
MULTIDEV_DELETE_PATTERN: ^ci-
PATH: $PATH:~/.composer/vendor/bin:~/.config/composer/vendor/bin
dependencies:
cache_directories:
- ~/.composer/cache
pre:
# Set the PHP timezone so that Behat script does not fail.
# Using > instead of >> will overwrite the file and disable xdebug.
# xdebug makes composer slower.
- git config --global user.email "$GIT_EMAIL"
- git config --global user.name "Circle CI"
- echo "date.timezone = 'US/Central'" > /opt/circleci/php/7.0.7/etc/conf.d/xdebug.ini
override:
- composer global require "hirak/prestissimo:^0.3"
- composer global require "consolidation/cgr"
- cgr "pantheon-systems/terminus:~0.13"
- cgr "drush/drush:~8"
- mkdir -p ~/terminus/plugins; cd ~/terminus/plugins && git clone git@github.com:greg-1-anderson/terminus-composer.git
post:
- terminus auth login --machine-token=$TERMINUS_TOKEN
- tests/scripts/delete-old-multidevs
- tests/scripts/create-pantheon-multidev
test:
override:
- terminus composer drupal-unit-tests
- cd tests && ./scripts/run-behat