mirror of
https://github.com/meineerde/rackstash.git
synced 2025-10-17 14:01:01 +00:00
58 lines
1.3 KiB
YAML
58 lines
1.3 KiB
YAML
# Copyright 2017 - 2018 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.5.3
|
|
- jruby-9.2.0.0
|
|
|
|
# Older versions
|
|
- 2.4.5
|
|
- 2.3.8
|
|
- 2.2.10
|
|
- 2.1.10
|
|
- jruby-9.1.17.0
|
|
- jruby-9.0.5.0
|
|
|
|
# HEAD-Rubies (might break)
|
|
- ruby-head
|
|
- jruby-head
|
|
|
|
matrix:
|
|
include:
|
|
- rvm: 2.5.3
|
|
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
|
|
|
|
# https://github.com/oracle/truffleruby/blob/master/doc/user/standalone-distribution.md#testing-truffleruby-in-travisci
|
|
- name: truffleruby
|
|
rvm: system
|
|
before_install:
|
|
- export TRUFFLERUBY_VERSION=1.0.0-rc8
|
|
- curl -L https://github.com/oracle/truffleruby/releases/download/vm-$TRUFFLERUBY_VERSION/truffleruby-$TRUFFLERUBY_VERSION-linux-amd64.tar.gz | tar xz
|
|
- export PATH="$PWD/truffleruby-$TRUFFLERUBY_VERSION-linux-amd64/bin:$PATH"
|
|
- gem install bundler
|
|
|
|
allow_failures:
|
|
- rvm: ruby-head
|
|
- rvm: jruby-head
|
|
- name: truffleruby
|
|
|
|
before_install:
|
|
- "gem install bundler"
|
|
|
|
script:
|
|
- bundle exec rspec
|