parent
92aaa2f44c
commit
31810cf869
1 changed files with 13 additions and 2 deletions
|
@ -2,9 +2,20 @@ 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
|
||||||
commands:
|
commands:
|
||||||
- echo "This is the build step"
|
- apt-get clean
|
||||||
- echo "binary-data-123" > executable
|
- apt-get -yqq update
|
||||||
|
- apt-get -yqqf install zip unzip subversion mysql-client libmysqlclient-dev --fix-missing
|
||||||
|
- 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
|
||||||
|
- phpunit --configuration phpunit.xml.dist
|
||||||
|
|
Loading…
Reference in a new issue