This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree 12 files changed +26
-45
lines changed
12 files changed +26
-45
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2024-06-20T11:25:31+01 :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
version : 2
Original file line number Diff line number Diff line change 1
- # This file was generated on 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2024-06-20T11:25:31+01 :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
Original file line number Diff line number Diff line change 1
- # This file was generated on 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2024-06-20T11:25:31+01 :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 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2024-06-20T11:25:31+01 :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:
@@ -30,41 +30,17 @@ nano_cmd="$(type -p gdate date | head -1)"
30
30
nano_format=" +%s%N"
31
31
[ " $( uname -s) " != " Darwin" ] || nano_format=" ${nano_format/% N/ 000000000} "
32
32
33
- travis_time_start () {
34
- travis_timer_id=$( printf %08x $(( RANDOM * RANDOM )) )
35
- travis_start_time=$( $nano_cmd -u " $nano_format " )
36
- printf " travis_time:start:%s\r\e[0m" $travis_timer_id
37
- }
38
-
39
- travis_time_finish () {
40
- local travis_end_time=$( $nano_cmd -u " $nano_format " )
41
- local duration=$(( $travis_end_time - $travis_start_time ))
42
- printf " travis_time:end:%s:start=%s,finish=%s,duration=%s\r\e[0m" \
43
- $travis_timer_id $travis_start_time $travis_end_time $duration
44
- }
45
-
46
33
fold () {
47
34
local name=" $1 "
48
35
local status=0
49
36
shift 1
50
- if [ -n " $TRAVIS " ]; then
51
- printf " travis_fold:start:%s\r\e[0m" " $name "
52
- travis_time_start
53
- else
54
- echo " ============= Starting $name ==============="
55
- fi
37
+ echo " ============= Starting $name ==============="
56
38
57
39
" $@ "
58
40
status=$?
59
41
60
- [ -z " $TRAVIS " ] || travis_time_finish
61
-
62
42
if [ " $status " -eq 0 ]; then
63
- if [ -n " $TRAVIS " ]; then
64
- printf " travis_fold:end:%s\r\e[0m" " $name "
65
- else
66
- echo " ============= Ending $name ==============="
67
- fi
43
+ echo " ============= Ending $name ==============="
68
44
else
69
45
STATUS=" $status "
70
46
fi
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
2
+ # This file was generated on 2024-06-20T11:25:31+01 :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
@@ -8,7 +8,7 @@ source script/functions.sh
8
8
if is_mri; then
9
9
pushd ..
10
10
11
- clone_repo " rspec"
11
+ clone_repo " rspec-metagem " " rspec "
12
12
clone_repo " rspec-core"
13
13
clone_repo " rspec-expectations"
14
14
clone_repo " rspec-mocks"
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
2
+ # This file was generated on 2024-06-20T11:25:31+01 :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 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2024-06-20T11:25:31+01 :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 ) "
5
5
source $SCRIPT_DIR /ci_functions.sh
6
6
source $SCRIPT_DIR /predicate_functions.sh
7
7
8
8
# If JRUBY_OPTS isn't set, use these.
9
- # see https://docs.travis-ci.com/user/ci-environment/
10
9
export JRUBY_OPTS=${JRUBY_OPTS:- " --server -Xcompile.invokedynamic=false" }
11
10
SPECS_HAVE_RUN_FILE=specs.out
12
11
MAINTENANCE_BRANCH=` cat maintenance-branch`
20
19
function clone_repo {
21
20
if [ ! -d $1 ]; then # don't clone if the dir is already there
22
21
if [ -z " $2 " ]; then
22
+ DIR_TARGET=" $1 "
23
+ else
24
+ DIR_TARGET=" $2 "
25
+ fi
26
+
27
+ if [ -z " $3 " ]; then
23
28
BRANCH_TO_CLONE=" ${MAINTENANCE_BRANCH?} " ;
24
29
else
25
- BRANCH_TO_CLONE=" $2 " ;
30
+ BRANCH_TO_CLONE=" $3 " ;
26
31
fi ;
27
32
28
- ci_retry eval " git clone https://github.com/rspec/$1 --depth 1 --branch ${BRANCH_TO_CLONE?} "
33
+ ci_retry eval " git clone https://github.com/rspec/$1 --depth 1 --branch ${BRANCH_TO_CLONE?} ${DIR_TARGET?} "
29
34
fi ;
30
35
}
31
36
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
2
+ # This file was generated on 2024-06-20T11:25:31+01 :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 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
1
+ # This file was generated on 2024-06-20T11:25:31+01 :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 {
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
2
+ # This file was generated on 2024-06-20T11:25:31+01 :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
1
#! /bin/bash
2
- # This file was generated on 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
2
+ # This file was generated on 2024-06-20T11:25:31+01 :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
1
#! /bin/bash
2
- # This file was generated on 2023-12-25T16:05:21+00 :00 from the rspec-dev repo.
2
+ # This file was generated on 2024-06-20T11:25:31+01 :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
6
6
source script/functions.sh
7
7
8
8
if is_ruby_31_plus; then
9
- echo " Installing rubygems 3.3.6 / bundler 2.3.6 "
10
- yes | gem update --system ' 3.3.6 '
11
- yes | gem install bundler -v ' 2.3.6 '
9
+ echo " Installing most recent rubygems / bundler"
10
+ yes | gem update --no-document --system
11
+ yes | gem install --no-document bundler
12
12
elif is_ruby_23_plus; then
13
13
echo " Installing rubygems 3.2.22 / bundler 2.2.22"
14
14
yes | gem update --system ' 3.2.22'
You can’t perform that action at this time.
0 commit comments