Skip to content

Continuous Integration Setup

Aytul Arisoy edited this page May 1, 2016 · 2 revisions

Continuous Integration Setup

To setup the Travis CI to GitHub repository below steps are required:

  • Add Travis CI Integration API to Github. - Flick the repository switch on just on the UI, scroll the checkbox left next to the branch name.
  • Add a .travis.yml file to read Travis configuration for badge (build/passing/failed). - The minimal to add are: Language, Version, Script and Notifications.
  • Edit README.md file to locate the URL of badge icon for visual representation of build status.
  • Trigger the first build with a git push to see the result.
  • Check the build status on the bottom of main page, click the badge to go to details.

Notifications:

  • To add notifications, you edit .travis.yml file. Right now, Slack and email notifications are setup for failure.
  • Go to Slack, Search App Directory, Find Travis, Integrate with the channel of team.

References:

The webpage to check Build History and CI Pipeline is: https://travis-ci.org/profile/wide-field-ethnography

CI Travis

Clone this wiki locally