Showing posts with label github. Show all posts
Showing posts with label github. Show all posts

Monday, 27 March 2017

Travis-ci.org your GitHub project

Step 1:  Register your GitHub project with travis-ci.org

travis-ci

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

How to add GitHub badges

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.