diff --git a/travis-matrix-preview/.gitignore b/travis-matrix-preview/.gitignore new file mode 100644 index 0000000..77471be --- /dev/null +++ b/travis-matrix-preview/.gitignore @@ -0,0 +1,2 @@ +Gemfile.lock +.*env diff --git a/travis-matrix-preview/Gemfile b/travis-matrix-preview/Gemfile new file mode 100644 index 0000000..6ba5029 --- /dev/null +++ b/travis-matrix-preview/Gemfile @@ -0,0 +1,5 @@ +source 'https://rubygems.org' + +gem 'puma' +gem 'sinatra' +gem 'sinatra-contrib', require: 'sinatra/contrib' diff --git a/travis-matrix-preview/app.rb b/travis-matrix-preview/app.rb new file mode 100644 index 0000000..a5ca7ba --- /dev/null +++ b/travis-matrix-preview/app.rb @@ -0,0 +1,5 @@ +require 'sinatra/base' + +class App < Sinatra::Base + run! if app_file == $PROGRAM_NAME +end diff --git a/travis-matrix-preview/config.ru b/travis-matrix-preview/config.ru new file mode 100644 index 0000000..5b106e2 --- /dev/null +++ b/travis-matrix-preview/config.ru @@ -0,0 +1,2 @@ +require './app' +run App