mirror of
https://github.com/samsonjs/rack-attack.git
synced 2026-04-05 11:15:54 +00:00
44 lines
1.1 KiB
YAML
44 lines
1.1 KiB
YAML
language: ruby
|
|
cache: bundler
|
|
|
|
rvm:
|
|
- 2.6.0-preview2
|
|
- 2.5.1
|
|
- 2.4.4
|
|
- 2.3.7
|
|
- 2.2.10
|
|
- jruby-9.1.16.0
|
|
|
|
before_install:
|
|
# For jruby we need to stick with rubygems 2.7.4 until
|
|
# https://github.com/rubygems/rubygems/issues/2188
|
|
# is fixed and released.
|
|
#
|
|
# Without this workaround, for jruby builds, rubygems
|
|
# activates jruby stdlib minitest (v5.4.1) instead of the
|
|
# bundled version (v5.11.3).
|
|
- if [ "${TRAVIS_RUBY_VERSION:0:5}" = "jruby" ]; then gem update --system 2.7.4; else gem update --system; fi
|
|
- gem install bundler
|
|
|
|
gemfile:
|
|
- gemfiles/rack_2_0.gemfile
|
|
- gemfiles/rack_1_6.gemfile
|
|
- gemfiles/rails_5_2.gemfile
|
|
- gemfiles/rails_5_1.gemfile
|
|
- gemfiles/rails_4_2.gemfile
|
|
- gemfiles/dalli2.gemfile
|
|
- gemfiles/connection_pool_dalli.gemfile
|
|
- gemfiles/active_support_redis_cache_store.gemfile
|
|
- gemfiles/active_support_redis_cache_store_pooled.gemfile
|
|
- gemfiles/redis_store.gemfile
|
|
- gemfiles/active_support_redis_store.gemfile
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- rvm: 2.6.0-preview2
|
|
|
|
fast_finish: true
|
|
|
|
services:
|
|
- redis
|
|
- memcached
|