This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +35
-11
lines changed Expand file tree Collapse file tree 9 files changed +35
-11
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-22T08:25:54 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2020-12-26T10:45:27 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
name : RSpec CI
@@ -30,11 +30,13 @@ jobs:
30
30
- 2.3
31
31
- 2.2
32
32
- 2.1.9
33
- - ruby-head
34
33
env :
35
34
-
36
35
DIFF_LCS_VERSION : " > 1.4.3"
37
36
include :
37
+ - ruby : ruby-head
38
+ env :
39
+ RUBY_HEAD : true
38
40
- ruby : jruby-9.2.13.0
39
41
env :
40
42
JRUBY_OPTS : " --dev"
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-22T08:25:54 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2020-12-26T10:45:27 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# This file contains defaults for RSpec projects. Individual projects
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-22T08:25:54 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2020-12-26T10:45:27 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# In order to install old Rubies, we need to use old Ubuntu distibution.
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-22T08:25:54 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2020-12-26T10:45:27 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# Taken from:
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2020-12-22T08:25:54 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2020-12-26T10:45:27 +00:00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-22T08:25:54 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2020-12-26T10:45:27 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
Original file line number Diff line number Diff line change 1
- # This file was generated on 2020-12-22T08:25:54 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2020-12-26T10:45:27 +00:00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
function is_mri {
@@ -11,6 +11,28 @@ function is_mri {
11
11
fi ;
12
12
}
13
13
14
+ function is_ruby_head {
15
+ # This checks for the presence of our CI's ruby-head env variable
16
+ if [ -z ${RUBY_HEAD+x} ]; then
17
+ return 1
18
+ else
19
+ return 0
20
+ fi ;
21
+ }
22
+
23
+ function supports_cross_build_checks {
24
+ if is_mri; then
25
+ # We don't run cross build checks on ruby-head
26
+ if is_ruby_head; then
27
+ return 1
28
+ else
29
+ return 0
30
+ fi
31
+ else
32
+ return 1
33
+ fi
34
+ }
35
+
14
36
function is_jruby {
15
37
if ruby -e " exit(defined?(RUBY_PLATFORM) && RUBY_PLATFORM == 'java')" ; then
16
38
# RUBY_ENGINE only returns 'ruby' on MRI.
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2020-12-22T08:25:54 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2020-12-26T10:45:27 +00:00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
@@ -28,7 +28,7 @@ if style_and_lint_enforced; then
28
28
fold " rubocop" check_style_and_lint
29
29
fi
30
30
31
- if is_mri ; then
31
+ if supports_cross_build_checks ; then
32
32
fold " one-by-one specs" run_specs_one_by_one
33
33
run_all_spec_suites
34
34
else
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2020-12-22T08:25:54 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2020-12-26T10:45:27 +00:00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
You can’t perform that action at this time.
0 commit comments