Playing around with a travis matrix app
This commit is contained in:
parent
4466e3cef2
commit
1416da2c99
2
travis-matrix-preview/.gitignore
vendored
Normal file
2
travis-matrix-preview/.gitignore
vendored
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
Gemfile.lock
|
||||||
|
.*env
|
5
travis-matrix-preview/Gemfile
Normal file
5
travis-matrix-preview/Gemfile
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
source 'https://rubygems.org'
|
||||||
|
|
||||||
|
gem 'puma'
|
||||||
|
gem 'sinatra'
|
||||||
|
gem 'sinatra-contrib', require: 'sinatra/contrib'
|
5
travis-matrix-preview/app.rb
Normal file
5
travis-matrix-preview/app.rb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
require 'sinatra/base'
|
||||||
|
|
||||||
|
class App < Sinatra::Base
|
||||||
|
run! if app_file == $PROGRAM_NAME
|
||||||
|
end
|
2
travis-matrix-preview/config.ru
Normal file
2
travis-matrix-preview/config.ru
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
require './app'
|
||||||
|
run App
|
Loading…
Reference in New Issue
Block a user