Sign inSign up

dala00/wercker-cakephp3

By dala00

Updated over 9 years ago

cakephp test env for wercker

Image
0

495

dala00/wercker-cakephp3 repository overview

wercker-cakephp3

CakePHP3 testing box for wercker

Change your database testing setting of app.php like

'host' => env('MYSQL_PORT_3306_TCP_ADDR', 'localhost'),
'port' => env('MYSQL_PORT_3306_TCP_PORT', 3306),

wercker.yml example

box: dala00/wercker-cakephp3
services:
  - id: mysql
    env:
      MYSQL_ROOT_PASSWORD: rootpasswd
      MYSQL_USER: testuser
      MYSQL_PASSWORD: testpasswd
      MYSQL_DATABASE: testdb

build:
  steps:
    - script:
        name: Install dependencies
        code: |
          composer install

    - script:
        name: Run phpunit
        code: |-
          vendor/bin/phpunit

Tag summary

Content type

Image

Digest

Size

201.4 MB

Last updated

over 9 years ago

docker pull dala00/wercker-cakephp3