-
Notifications
You must be signed in to change notification settings - Fork 10
/
circle.yml
39 lines (36 loc) · 1.29 KB
/
circle.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
machine:
php:
version: 5.5.11
hosts:
localhost: 127.0.0.1
environment:
PATH: $HOME/$CIRCLE_PROJECT_REPONAME/bin:$PATH
# You may set the variables below to customize the behavior of the
# test runner. See the README.md file for instructions on how to
# set the secret site credentials needed to authenticate against Pantheon.
# Variables set here are specific to the Circle CI environment; to set
# variable values that are used across all environments, edit the
# file scripts/default-environment.
# SITE_NAME: My Awesome Site
# CI_BOT_EMAIL: [email protected]
# CI_BOT_NAME: My Bot
test:
pre:
- disable-php-email
- install-drupal
- start-webserver:
background: true
- wait-for-webserver
override:
# Do a quick smoke-test on the ci server, and if that works,
# then push the site to Pantheon, and run the Behat tests
# against your Drupal site on Pantheon.
- cd behat; behat --config=behat-ci.yml
- push-to-pantheon
- cd behat; behat --config=behat-pantheon.yml
# If you want to run all tests on Circle, and do not want to use
# the Pantheon integration, remove the block above and uncomment
# the instruction below.
# - cd behat; behat --config=behat-local.yml
post:
- stop-webserver