1
0
mirror of https://github.com/meineerde/rackstash.git synced 2025-10-17 14:01:01 +00:00
rackstash/.travis.yml
Holger Just c58c70febb Add Rack middleware
The middleware can be used in a Rack appliction wrap all log messages
emitted to the logger during a single request in a single emitted log
event. This ensures that all data concerning the request, including log
messages as well as additional fields and tags are logged as one single
event.

This ensures that the data is kept as a whole when the log event is
handled by later systems like Logstash. Each request can be analyzed as
a whole without having to group or parse complex multi-line log formats.
2017-10-18 00:21:43 +02:00

46 lines
785 B
YAML

# Copyright 2017 Holger Just
#
# This software may be modified and distributed under the terms
# of the MIT license. See the LICENSE.txt file for details.
language: ruby
sudo: false
dist: trusty
cache: bundler
rvm:
# Latest Rubies on top
- 2.4.2
- jruby-9.1.13.0
# Older versions
- 2.3.5
- 2.2.8
- 2.1.10
- jruby-9.0.5.0
# HEAD-Rubies (might break)
- ruby-head
- jruby-head
matrix:
include:
- rvm: 2.4.2
env: COVERAGE=1
# An older Ruby/Rack combination as used by Rails 3.2. As long as it works
# with our required Ruby version, we want to support it.
- rvm: 2.1.10
env: RACK_VERSION=1.4.5
allow_failures:
- rvm: ruby-head
- rvm: jruby-head
before_install:
- "gem install bundler"
script:
- bundle exec rspec