sudo: true
dist: trusty

language: php

php:
    - 5.6
    - 7.0
    - 7.1
    - nightly

matrix:
    fast_finish: true
    allow_failures:
        - php: nightly

install:
    - ./bin/composer install --no-interaction --no-progress --no-suggest
    - ./bin/build app:install CHOWN_USER=$USER,CHGRP_GROUP=$USER,DB_NAME=app,DB_ADMIN_USER=root,DB_USER=root

before_script:
    - ./bin/phpserv >/dev/null 2>&1 &
    - sleep 5

script:
    - ./vendor/bin/phpunit --group example
    - ./vendor/bin/phpunit --exclude-group example
    - ./vendor/bin/phpcs

sudo: true
dist: trusty

language: php

php:
    - 5.6
    - 7.0
    - 7.1
    - nightly

matrix:
    fast_finish: true
    allow_failures:
        - php: nightly

install:
    - ./bin/composer install --no-interaction --no-progress --no-suggest
    - ./bin/build app:install CHOWN_USER=$USER,CHGRP_GROUP=$USER,DB_NAME=app,DB_ADMIN_USER=root,DB_USER=root

before_script:
    - ./bin/phpserv >/dev/null 2>&1 &
    - sleep 10

script:
    - ./vendor/bin/phpunit --group example
    - ./vendor/bin/phpunit --exclude-group example
    - ./vendor/bin/phpcs

Increase sleep time to 10 seconds
Increase sleep time to 10 seconds
