Provision Travis CI PHP VM (trusty, sudo required) locally

Viewed 101

Goal

I try to find the reason why a Laravel Dusk test fails on Travis CI, that is why I am trying to reproduce the used Travis CI environment locally.

Setting

In my .travis.yml I have

sudo: required
dist: trusty

since Laravel Dusk requires this.

This is why I am trying to reproduce a "full VM environment" locally (not a Docker based environment).

Current findings

I found out so far that Travis uses Chef to provision the full VMs or the packer templates, which eventually wrap the travis-cookbooks?

Question

How can I provision the "Travis full VM trusty sudo required" locally on Mac OS X?

2 Answers
Related