And this is what I have in my Travis config (note that the Travis Pro bug about PHP-FPM should be fixed since months now):

```yaml
before_script:

    # PHP-FPM is not in the path currently because of a bug in Travis Pro boxes
    - ~/.phpenv/versions/$(phpenv version-name)/sbin/php-fpm --fpm-config .travis.php-fpm.conf > travis_log_php 2>&1 &

    - time sudo apt-get update -qq
    - time sh -c "sudo apt-get install -qq -y --force-yes nginx"
    - sudo nginx -c .travis.nginx.conf -p "$PWD/"

after_failure:
    - cat travis_log_php
```