mirror of
https://github.com/meineerde/rackstash.git
synced 2025-10-17 14:01:01 +00:00
We wnumerate exact Ruby versions in .travis.yml. This is required for at least Ruby 2.4 which isn't currently recognized as a fuzzy match in Travis' RVM version. When specifying it as an exact version, it will install it though. We specify all the other versions too since this makes our tests more reproducable over time.
38 lines
533 B
YAML
38 lines
533 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
|
|
|
|
cache: bundler
|
|
|
|
rvm:
|
|
# Latest Rubies on top
|
|
- 2.4.0
|
|
- jruby-9.1.6.0
|
|
|
|
# Older versions
|
|
- 2.3.3
|
|
- 2.2.6
|
|
- 2.1.10
|
|
|
|
# HEAD-Rubies (might break)
|
|
- ruby-head
|
|
- jruby-head
|
|
|
|
jdk:
|
|
- oraclejdk8
|
|
|
|
matrix:
|
|
allow_failures:
|
|
- rvm: ruby-head
|
|
- rvm: jruby-head
|
|
|
|
before_install:
|
|
- "gem update bundler"
|
|
|
|
script:
|
|
- bundle exec rspec
|