mirror of
https://github.com/thoughtbot/shoulda-matchers.git
synced 2022-11-09 12:01:38 -05:00
Update util scripts to use Ruby versions in .travis.yml
[ci skip]
This commit is contained in:
parent
020c01a696
commit
de25e8f7d8
6 changed files with 19 additions and 5 deletions
|
|
@ -1 +0,0 @@
|
|||
2.4.1 2.3.5 2.2.7
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
SUPPORTED_VERSIONS=$(<script/SUPPORTED_VERSIONS)
|
||||
set -euo pipefail
|
||||
|
||||
SUPPORTED_VERSIONS=$(script/supported_ruby_versions)
|
||||
|
||||
install-gems-for-version() {
|
||||
local version="$1"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
SUPPORTED_VERSIONS=$(<script/SUPPORTED_VERSIONS)
|
||||
set -euo pipefail
|
||||
|
||||
SUPPORTED_VERSIONS=$(script/supported_ruby_versions)
|
||||
|
||||
run-tests-for-version() {
|
||||
local version="$1"
|
||||
|
|
|
|||
7
script/supported_ruby_versions
Executable file
7
script/supported_ruby_versions
Executable file
|
|
@ -0,0 +1,7 @@
|
|||
#!/usr/bin/env ruby
|
||||
|
||||
require 'yaml'
|
||||
|
||||
travis_config_path = File.expand_path('../../.travis.yml', __FILE__)
|
||||
travis_config = YAML.load_file(travis_config_path)
|
||||
puts travis_config.fetch('rvm').join(' ')
|
||||
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
SUPPORTED_VERSIONS=$(<script/SUPPORTED_VERSIONS)
|
||||
set -euo pipefail
|
||||
|
||||
SUPPORTED_VERSIONS=$(script/supported_ruby_versions)
|
||||
gem="$1"
|
||||
|
||||
update-gem-for-version() {
|
||||
|
|
|
|||
|
|
@ -1,6 +1,8 @@
|
|||
#!/bin/bash
|
||||
|
||||
SUPPORTED_VERSIONS=$(<script/SUPPORTED_VERSIONS)
|
||||
set -euo pipefail
|
||||
|
||||
SUPPORTED_VERSIONS=$(script/supported_ruby_versions)
|
||||
|
||||
update-gems-for-version() {
|
||||
local version="$1"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue