box: wercker/php
build:
  steps:
    - script:
        name: setup log and cache folder
        code: mkdir /var/log/phpdoc.org; chmod 777 /var/log/phpdoc.org; mkdir /tmp/phpdoc.org; chmod 777 /tmp/phpdoc.org
    - script:
        name: install dependencies
        code: |-
            composer install --no-interaction
    - script:
        name: unit tests
        code: phpunit --configuration app/

box: wercker/php
build:
  steps:
    - script:
        name: setup log and cache folder
        code: sudo mkdir /var/log/phpdoc.org; sudo chmod 777 /var/log/phpdoc.org; sudo mkdir /tmp/phpdoc.org; sudo chmod 777 /tmp/phpdoc.org
    - script:
        name: install dependencies
        code: |-
            composer install --no-interaction
    - script:
        name: unit tests
        code: phpunit --configuration app/

Add sudo rights to log and cache creation
Add sudo rights to log and cache creation
