parent
31810cf869
commit
2ed7da290e
1 changed files with 8 additions and 7 deletions
|
@ -2,13 +2,6 @@ when:
|
||||||
- event: push
|
- event: push
|
||||||
branch: woodpecker
|
branch: woodpecker
|
||||||
|
|
||||||
services:
|
|
||||||
- name: database
|
|
||||||
image: mysql
|
|
||||||
environment:
|
|
||||||
- MYSQL_DATABASE: wordpress_tests
|
|
||||||
- MYSQL_ROOT_PASSWORD: mysql
|
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- name: build
|
- name: build
|
||||||
image: wordpressdevelop/phpunit
|
image: wordpressdevelop/phpunit
|
||||||
|
@ -19,3 +12,11 @@ steps:
|
||||||
- docker-php-ext-enable mbstring mcrypt mysqli pdo_mysql intl gd zip bz2
|
- docker-php-ext-enable mbstring mcrypt mysqli pdo_mysql intl gd zip bz2
|
||||||
- bash bin/install-wp-tests.sh wordpress_tests root mysql mysql latest true
|
- bash bin/install-wp-tests.sh wordpress_tests root mysql mysql latest true
|
||||||
- phpunit --configuration phpunit.xml.dist
|
- phpunit --configuration phpunit.xml.dist
|
||||||
|
|
||||||
|
|
||||||
|
services:
|
||||||
|
- name: database
|
||||||
|
image: mysql
|
||||||
|
environment:
|
||||||
|
- MYSQL_DATABASE: wordpress_tests
|
||||||
|
- MYSQL_ROOT_PASSWORD: mysql
|
Loading…
Reference in a new issue