Continuous Integration for Rails with Travis & GitHub


In this video, I take the Contractometer project from earlier lessons and integrate it with Travis for Continuous Integration (i.e. auto-building and testing).

Travis: https://travis-ci.com

What is continuous integration anyway?
Essentially, you check your code into a central repository (i.e. Github) and automated building is done to see if your code can run, and tests are automatically run to see if your code passes. It should ensure that the code in the repository passes.

Get the project on Github: https://github.com/philsmy/stimulus-hwturbo-bs5-demo
The ‘for_ci’ branch has the updated Read Me with what I did here

Timestamps
00:00 Introduction
00:18 What is Continuous Integration
04:40 Preparing the app – branch
06:15 Install gem
07:45 Add needed code in config
08:50 Bundle
09:20 Install rspec and cucumber
11:00 Configure Database Cleaner
12:10 Configure Coveralls
13:05 Travis Configuration
19:00 Push to Github
22:45 Monitor in Travis

Some people online just talk – I just do. One of my major SaaS products out there is Zonmaster.com (https://public.zonmaster.com) THE AutoResponder and Customer Management tool for Amazon Sellers. Join over 17,000 other Amazon Sellers and sign up today!

Looking for great hosting? I’ve been using DigitalOcean for 7 years and they have never let me down. Amazing.
Check them out here https://m.do.co/c/f1c6edf8597f and get $100(!!!) free credits towards the cost of servers.

#rubyOnRails #entrepreneurship #softwareDevelopment


Leave a Reply

Your email address will not be published. Required fields are marked *


This site uses Akismet to reduce spam. Learn how your comment data is processed.