• 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 729 Times!

Facebook Twitter Pinterest

Abhishek Ghosh

About Abhishek Ghosh

Abhishek Ghosh is a Businessman, 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

Get new posts by email:

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 (24.3K Followers)
  • Twitter (5.8k Followers)
  • Facebook (5.7k Followers)
  • LinkedIn (3.7k Followers)
  • YouTube (1.3k Followers)
  • GitHub (Repository)
  • GitHub (Gists)
Looking to publish sponsored article on our website?

Contact us

Recent Posts

  • Cyberpunk Aesthetics: What’s in it Special January 27, 2023
  • How to Do Electrical Layout Plan for Adding Smart Switches January 26, 2023
  • What is a Data Mesh? January 25, 2023
  • What is Vehicular Ad-Hoc Network? January 24, 2023
  • Difference Between Panel Light, COB Light, Track Light January 21, 2023

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 29, 2023, https://thecustomizewindows.com/2015/01/add-travis-ci-github-project/.

Source:The Customize Windows, JiMA.in

PC users can consult Corrine Chorney for Security.

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

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

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

We use cookies on our website to give you the most relevant experience by remembering your preferences and repeat visits. By clicking “Accept”, you consent to the use of ALL the cookies.
Do not sell my personal information.
Cookie SettingsAccept
Manage consent

Privacy Overview

This website uses cookies to improve your experience while you navigate through the website. Out of these, the cookies that are categorized as necessary are stored on your browser as they are essential for the working of basic functionalities of the website. We also use third-party cookies that help us analyze and understand how you use this website. These cookies will be stored in your browser only with your consent. You also have the option to opt-out of these cookies. But opting out of some of these cookies may affect your browsing experience.
Necessary
Always Enabled
Necessary cookies are absolutely essential for the website to function properly. These cookies ensure basic functionalities and security features of the website, anonymously.
CookieDurationDescription
cookielawinfo-checkbox-analytics11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Analytics".
cookielawinfo-checkbox-functional11 monthsThe cookie is set by GDPR cookie consent to record the user consent for the cookies in the category "Functional".
cookielawinfo-checkbox-necessary11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookies is used to store the user consent for the cookies in the category "Necessary".
cookielawinfo-checkbox-others11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Other.
cookielawinfo-checkbox-performance11 monthsThis cookie is set by GDPR Cookie Consent plugin. The cookie is used to store the user consent for the cookies in the category "Performance".
viewed_cookie_policy11 monthsThe cookie is set by the GDPR Cookie Consent plugin and is used to store whether or not user has consented to the use of cookies. It does not store any personal data.
Functional
Functional cookies help to perform certain functionalities like sharing the content of the website on social media platforms, collect feedbacks, and other third-party features.
Performance
Performance cookies are used to understand and analyze the key performance indexes of the website which helps in delivering a better user experience for the visitors.
Analytics
Analytical cookies are used to understand how visitors interact with the website. These cookies help provide information on metrics the number of visitors, bounce rate, traffic source, etc.
Advertisement
Advertisement cookies are used to provide visitors with relevant ads and marketing campaigns. These cookies track visitors across websites and collect information to provide customized ads.
Others
Other uncategorized cookies are those that are being analyzed and have not been classified into a category as yet.
SAVE & ACCEPT