forked from DoSomethingArchive/legacy-website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
wercker.yml
37 lines (37 loc) · 1.16 KB
/
wercker.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
box: wercker/php
services:
- wercker/mysql
build:
steps:
- add-ssh-key:
keyname: DOSOMETHING
- desmondmorris/[email protected]
- script:
name: Install make_local plugin
code: |-
drush dl make_local-6.x-1.0
- script:
name: Run make file
code: |-
drush make --prepare-install --no-gitinfofile --no-cache build-dosomething.make html
- script:
name: Install Drupal
cwd: html/
code: |-
drush site-install dosomething --db-url=$WERCKER_MYSQL_URL --site-name=Testing -y
- script:
name: Enable simpletest
cwd: html/
code: |-
drush en simpletest -y
drush vset --yes simpletest_verbose FALSE
- script:
name: Start server
cwd: html/
code: |-
drush runserver --server=builtin 8080 & sleep 5
- script:
name: Run tests
cwd: html/
code: |-
drush test-run DosomethingUserUnitTestCase --xml --uri=http://127.0.0.1:8080