-
Notifications
You must be signed in to change notification settings - Fork 32
/
wercker.yml
34 lines (34 loc) · 853 Bytes
/
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
box: wercker/php
build:
steps:
- script:
name: Install extensions
code: |-
pecl install apc
pecl install memcache
pecl install SQLite
- script:
name: List available PHP versions
code: |-
phpenv version
phpenv versions
php -v
which php
- script:
name: List available tools
code: |-
phpunit --version
composer --version
pear version
pyrus --version
phpenv -v
- script:
name: install dependencies
code: |-
composer install
- script:
name: Serve application
code: php -S localhost:8000 >> /dev/null &
- script:
name: PHPUnit integration tests
code: phpunit --configuration phpunit.xml