.travis.yml
file that allows you to configure your enviornment.
If you have a project similar to yours – copying that project’s .travis.yml
file is usually enough to get you started. If you don’t then you’re building an enviornment from scratch, which can be a tedious affair.
The linked GitHub repository offers a sample .travis.yml
file for Magento 2 projects. It builds a fully installed Magento 2 system, including PHP, Apache, and MySQL. It also offers configuration variables (and a template) for adding composer hosted Magento modules to the project