1
0
Fork 0
mirror of https://github.com/pry/pry.git synced 2022-11-09 12:35:05 -05:00

Merge pull request #1921 from tatsuyafw/ci-against-ruby-2.6

CI against Ruby 2.6
This commit is contained in:
Kyrylo Silin 2019-01-04 21:13:40 +08:00 committed by GitHub
commit 1d463198a9
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -37,7 +37,7 @@ references:
jobs: jobs:
rubocop_lint: rubocop_lint:
docker: docker:
- image: circleci/ruby:2.5 - image: circleci/ruby:2.6
working_directory: ~/pry working_directory: ~/pry
steps: steps:
- checkout - checkout
@ -48,7 +48,7 @@ jobs:
command: bundle exec rubocop --parallel command: bundle exec rubocop --parallel
yard_lint: yard_lint:
docker: docker:
- image: circleci/ruby:2.5 - image: circleci/ruby:2.6
working_directory: ~/pry working_directory: ~/pry
steps: steps:
- checkout - checkout
@ -120,6 +120,15 @@ jobs:
- <<: *bundle_install - <<: *bundle_install
- <<: *install_ubuntu_nano - <<: *install_ubuntu_nano
- <<: *unit - <<: *unit
"ruby-2.6":
docker:
- image: circleci/ruby:2.6
working_directory: ~/pry
steps:
- <<: *repo_restore_cache
- <<: *bundle_install
- <<: *install_ubuntu_nano
- <<: *unit
"jruby-9.1-jdk": "jruby-9.1-jdk":
docker: docker:
- image: circleci/jruby:9.1-jdk - image: circleci/jruby:9.1-jdk
@ -173,6 +182,10 @@ workflows:
requires: requires:
- rubocop_lint - rubocop_lint
- yard_lint - yard_lint
- "ruby-2.6":
requires:
- rubocop_lint
- yard_lint
- "jruby-9.1-jdk": - "jruby-9.1-jdk":
requires: requires:
- rubocop_lint - rubocop_lint