• Home
  • Archive
  • Tools
  • Contact Us

The Customize Windows

Technology Journal

  • Cloud Computing
  • Computer
  • Digital Photography
  • Windows 7
  • Archive
  • Cloud Computing
  • Virtualization
  • Computer and Internet
  • Digital Photography
  • Android
  • Sysadmin
  • Electronics
  • Big Data
  • Virtualization
  • Downloads
  • Web Development
  • Apple
  • Android
Advertisement
You are here: Home » How To Add Travis CI To Your GitHub Project

By Abhishek Ghosh January 28, 2015 1:04 am Updated on January 28, 2015

How To Add Travis CI To Your GitHub Project

Advertisement

Here is How To Add Travis CI To Your GitHub Project – That Build Passing Status Sticker in documentation. Travis is a Continuous Integration Service. Travis CI is non-Free hosted software service. There are lot of Continuous Integration Free Software, which you can install on your server do the same thing. We are writing this guide on How To Add Travis CI To Your GitHub Project, as most uses this service with GitHub. Travis CI tests a build depending on the .travis.yml file, it will test and send email notification upon failure.

 

How To Add Travis CI To Your GitHub Project : Known the Basics of Revision Control Softwares

 

We have talked about the Common Terminologies in Revision Control, basics about Revision Control, SVN or Apache Subversion and obviously about Git. Git is important for PaaS.

How To Add Travis CI To Your GitHub Project

 

How To Add Travis CI To Your GitHub Project

 

We do not need continuous integration system for all the projects. When there are regular many Pull and Push by many contributors, it is helpful to understand the status. Build Failed not necessary means, the thing will not work. Build Unknown means that .travis.yml file is not configured. Technically it is better to have a Build Unknown sticker than Build Failed sticker.

Advertisement

---

We are using OS X Homebrew-iTerm2-ZSH setup. We need to install a Ruby Gems first via Terminal (not iTerm2) :

Vim
1
sudo gem install travis-lint

This will help you to debug the .travis.yml file via this command :

Vim
1
travis-lint .travis.yml

Next, register for the service :

https://travis-ci.org/

You will authenticate via GitHub WebHook. It is quite easy to understand web GUI, you are an advanced user, you can read their docs to enable the service by simple clicking. Suppose, you want to create a new project or add the Badge to an existing project. Take this as example :

Vim
1
git clone git@github.com:AbhishekGhosh/joomla.git && cd joomla

Now, we at least need these files :

  1. .gitignore
  2. README.md
  3. .travis.yml
  4. Some example script for which the repo is for

You can look at that project’s .gitinore file :

Vim
1
https://github.com/AbhishekGhosh/joomla/blob/master/.gitignore

It was generated automatically, while creating the project. This is important. Here is docs on .gitinore :

Vim
1
http://git-scm.com/docs/gitignore

Everyone knows, after updating a git locally, you need to push :

Vim
1
git push -u origin master

In between, you need to add the thing which will give you that Sticker – Build Passing. It is very easy, suppose your GitHub repo’s corresponding Travis CI url is :

Vim
1
https://travis-ci.org/AbhishekGhosh/HP-Cloud-ASCII-Logo

Extra fun! Point towards – https://gitter.im, you’ll get a chat service. It is very easy to setup.

Tagged With Travis CI , how to add build unknown to github , git travis howto , add travis to repository , add travis to gitlabs project , add travis to github project , add travis icon to github , add travis github , add travis ci to github , add travis ci to git repo

This Article Has Been Shared 730 Times!

Facebook Twitter Pinterest
Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, Orthopaedic Surgeon, Author and Blogger. You can keep touch with him on Twitter - @AbhishekCTRL.

Here’s what we’ve got for you which might like :

Articles Related to How To Add Travis CI To Your GitHub Project

  • Car GPS : How a Car GPS Device Works

    Car GPS devices are becoming more popular as navigation system in cars so that the driver can concentrate on the traffic rather than thinking of map.

  • Auto Focus in Digital Photography

    Auto Focus (AF) is a technology which automatically brings the intended area into focus, there is passive autofocus and active autofocus.

  • Cloud Computing XaaS : Approaches and Possibilities

    Cloud Computing XaaS is an approach towards everything to provide as a service to make available and consume like we use electricity.Read the important aspects.

  • Facial Recognition : In Softwares and Living Creatures

    Facial Recognition is an important and interesting feature of many animals and simulated Facial Recognition done by the softwares to detect One from others.

  • OS X Superuser : Enabling and Cautions

    As we all know, OS X Superuser account sometimes is specially required but most often we are not aware how are the ways or why not to use this Superuser mode.

Additionally, performing a search on this website can help you. Also, we have YouTube Videos.

Take The Conversation Further ...

We'd love to know your thoughts on this article.
Meet the Author over on Twitter to join the conversation right now!

If you want to Advertise on our Article or want a Sponsored Article, you are invited to Contact us.

Contact Us

Subscribe To Our Free Newsletter

You can subscribe to our Free Once a Day, Regular Newsletter by clicking the subscribe button below.

Click To Subscribe

Please Confirm the Subscription When Approval Email Will Arrive in Your Email Inbox as Second Step.

Search this website…

 

Popular Articles

Our Homepage is best place to find popular articles!

Here Are Some Good to Read Articles :

  • Cloud Computing Service Models
  • What is Cloud Computing?
  • Cloud Computing and Social Networks in Mobile Space
  • ARM Processor Architecture
  • What Camera Mode to Choose
  • Indispensable MySQL queries for custom fields in WordPress
  • Windows 7 Speech Recognition Scripting Related Tutorials

Social Networks

  • Pinterest (20K Followers)
  • Twitter (4.9k Followers)
  • Facebook (5.8k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.2k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • What is Domain-Driven Design (DDD)? January 23, 2021
  • Top 10 Anti Hacking Software for Microsoft Windows January 22, 2021
  • What is Software Modernization? January 21, 2021
  • Cloud Computing : Cybersecurity Tips for Small Business Owners January 20, 2021
  • Arduino : Independently Blink Multiple LED January 18, 2021

 

About This Article

Cite this article as: Abhishek Ghosh, "How To Add Travis CI To Your GitHub Project," in The Customize Windows, January 28, 2015, January 23, 2021, https://thecustomizewindows.com/2015/01/add-travis-ci-github-project/.

Source:The Customize Windows, JiMA.in

 

This website uses cookies. If you do not want to allow us to use cookies and/or non-personalized Ads, kindly clear browser cookies after closing this webpage.

Read Cookie Policy.

PC users can consult Corrine Chorney for Security.

Want to know more about us? Read Notability and Mentions & Our Setup.

Copyright © 2021 - The Customize Windows | dESIGNed by The Customize Windows

Copyright  · Privacy Policy  · Advertising Policy  · Terms of Service  · Refund Policy