Travis ci in Local machine

Here, I am giving some quick (uncommented) steps to set up a docker container on your computer to run travis ci on it.

Installing docker on Ubuntu 18

sudo apt-get update
sudo apt-get install \
apt-transport-https \
ca-certificates \
curl \
gnupg-agent \
curl -fsSL | sudo apt-key add -
sudo add-apt-repository \
"deb [arch=amd64] \
$(lsb_release -cs) \
sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli

Prepare a u18 container and jump into it

sudo docker pull ubuntu
sudo docker run -it ubuntu

Install travis in the container

apt-get install -y git gem rubygems
apt-get install -y rubyruby -e 'puts RUBY_VERSION[/\d+\.\d+/]'-dev
git clone
cd build
gem install travis
travis # to create ~/.travis
ln -s pwd ~/.travis/travis-build
bundle install

Run travis

git clone 
travis compile >