Step 1: Register your GitHub project with travis-ci.org
Step 2: Create a .travis.yml file
Step 3: Add a test command to your package.json (see line 8)
Step 4: Add a .eslintrc
Here is an example of some GitHub badges on a project:
It’s really easy to do, you just need to register your project with david-dm.org and travis-ci.org. Here is the markdown I used within my readme file:
In my next blog posts I'll show examples of how to integrate online TravisCI for the build badge.