Skip to content
This repository was archived by the owner on Nov 30, 2024. It is now read-only.

Commit b51ec28

Browse files
committed
Merge pull request #2780 from rspec/update-ci-build-scripts-2020-11-16-for-main
Updates from rspec-dev (2020-11-16)
1 parent 7e403b7 commit b51ec28

File tree

10 files changed

+49
-19
lines changed

10 files changed

+49
-19
lines changed

.github/workflows/ci.yml

Lines changed: 38 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,38 @@
1+
# This file was generated on 2020-11-16T09:31:10+00:00 from the rspec-dev repo.
2+
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3+
4+
name: RSpec CI
5+
on: [pull_request, push]
6+
jobs:
7+
test:
8+
name: Ruby ${{ matrix.ruby }}
9+
runs-on: ubuntu-20.04
10+
strategy:
11+
matrix:
12+
ruby:
13+
- 3.0.0-preview1
14+
- 2.7
15+
- 2.6
16+
- 2.5
17+
- 2.4
18+
- 2.3
19+
- 2.2
20+
- 2.1.9
21+
- ruby-head
22+
fail-fast: false
23+
continue-on-error: ${{ matrix.ruby == 'jruby-9.2.13.0' || endsWith(matrix.ruby, 'head') }}
24+
steps:
25+
- uses: actions/checkout@v2
26+
- uses: ruby/setup-ruby@v1
27+
with:
28+
bundler: ${{ (matrix.ruby == 'jruby-9.1.17.0' && 1) || 2 }}
29+
ruby-version: ${{ matrix.ruby }}
30+
bundler-cache: true
31+
- uses: actions/cache@v2
32+
with:
33+
path: ../bundle
34+
key: ${{ runner.os }}-${{ matrix.ruby }}
35+
- run: script/update_rubygems_and_install_bundler
36+
- run: script/clone_all_rspec_repos
37+
- run: bundle install --binstubs --standalone
38+
- run: script/run_build

.rubocop_rspec_base.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2020-09-28T21:53:37+02:00 from the rspec-dev repo.
1+
# This file was generated on 2020-11-16T09:31:10+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# This file contains defaults for RSpec projects. Individual projects

.travis.yml

Lines changed: 2 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2020-09-28T21:53:37+02:00 from the rspec-dev repo.
1+
# This file was generated on 2020-11-16T09:31:10+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# In order to install old Rubies, we need to use old Ubuntu distibution.
@@ -19,15 +19,6 @@ rvm:
1919
- 1.9.2
2020
- 1.9.3
2121
- 2.0.0
22-
- 2.1
23-
- 2.2.10
24-
- 2.3.8
25-
- 2.4.10
26-
- 2.5.8
27-
- 2.6.6
28-
- 2.7.1
29-
- ruby-3.0.0-preview1
30-
- ruby-head
3122
- ree
3223
- rbx-3
3324
- jruby-9.1.7.0 # pin JRuby to this until travis/rvm can install later versions
@@ -52,3 +43,4 @@ branches:
5243
only:
5344
- main
5445
- /^\d+-\d+-maintenance$/
46+
- /^\d+-\d+-dev$/

appveyor.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2020-09-28T21:53:37+02:00 from the rspec-dev repo.
1+
# This file was generated on 2020-11-16T09:31:10+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
version: "{build}"

script/travis_functions.sh renamed to script/ci_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2020-09-28T21:53:37+02:00 from the rspec-dev repo.
1+
# This file was generated on 2020-11-16T09:31:10+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
# Taken from:

script/clone_all_rspec_repos

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2020-09-28T21:53:37+02:00 from the rspec-dev repo.
2+
# This file was generated on 2020-11-16T09:31:10+00:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/functions.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
# This file was generated on 2020-09-28T21:53:37+02:00 from the rspec-dev repo.
1+
# This file was generated on 2020-11-16T09:31:10+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
SCRIPT_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
5-
source $SCRIPT_DIR/travis_functions.sh
5+
source $SCRIPT_DIR/ci_functions.sh
66
source $SCRIPT_DIR/predicate_functions.sh
77

88
# If JRUBY_OPTS isn't set, use these.

script/predicate_functions.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
# This file was generated on 2020-09-28T21:53:37+02:00 from the rspec-dev repo.
1+
# This file was generated on 2020-11-16T09:31:10+00:00 from the rspec-dev repo.
22
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33

44
function is_mri {

script/run_build

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2020-09-28T21:53:37+02:00 from the rspec-dev repo.
2+
# This file was generated on 2020-11-16T09:31:10+00:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

script/update_rubygems_and_install_bundler

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
#!/bin/bash
2-
# This file was generated on 2020-09-28T21:53:37+02:00 from the rspec-dev repo.
2+
# This file was generated on 2020-11-16T09:31:10+00:00 from the rspec-dev repo.
33
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44

55
set -e

0 commit comments

Comments
 (0)