Running Travis CI with Laravel

Tigran Hakobyan
1 min readSep 26, 2019

Today I was working on setting up Travis CI for Cronhub builds. It took me around two hours to make it work. I was expecting the integration should be a breeze, but Travis CI configuration is not trivial. It has many moving pieces, and everything should be in place.

Since I finally got it working, I thought I’d share my travis.yml and .env.travis files to save you time.

travis.yml file

Make sure to use the bionic or xenial Ubuntu dist in your travis.yml file and add mysql externally under the services. This will…

--

--

Tigran Hakobyan

software engineer @netflix / interested in computers, words and investing