Geek Culture
Published in

Geek Culture

Display Build Status and Test Coverage Badges for a Laravel Project

A guide I wished I had

Setup repo with Travis CI and Coveralls

Configure PHPUnit and Coveralls

composer require php-coveralls/php-coveralls
"php-coveralls/php-coveralls": "^1.1"

Create a .travis.yml and .coveralls.yml

coverage_clover: build/logs/clover.xml
json_path: build/logs/coveralls-upload.json
service_name: travis-ci

Deploy code and display badges

[![Build Status](](
[![Coverage Status](](



A new tech publication by Start it up (

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Nwachukwu Chibuike

Full-stack developer, technical writer and lover of Jamstack. Passionate about lifelong learning.