-
Notifications
You must be signed in to change notification settings - Fork 689
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
# This is a combination of 2 commits.
# This is the 1st commit message: CircleCI configuration # The commit message #2 will be skipped: # fixup! CircleCI configuration
- Loading branch information
1 parent
0ca1061
commit b14a6e1
Showing
1 changed file
with
68 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,68 @@ | ||
version: 2.1 | ||
jobs: | ||
test: | ||
description: Run tests | ||
parameters: | ||
with: | ||
description: Ruby to use for tests | ||
type: string | ||
default: ruby:latest | ||
docker: | ||
- image: "circleci/<< parameters.with >>" | ||
steps: | ||
- checkout | ||
- restore_cache: | ||
keys: | ||
- gem-dependencies-{{ checksum "prawn.gemspec" }} | ||
# fallback to using the latest cache if no exact match is found | ||
- gem-dependencies- | ||
- run: "bundle install --jobs=4 --retry=3 --path vendor/bundle" | ||
- save_cache: | ||
paths: | ||
- ./vendor/bundle | ||
key: gem-dependencies-{{ checksum "prawn.gemspec" }} | ||
- run: "bundle exec rake" | ||
workflows: | ||
version: 2 | ||
test-2.6.3: | ||
jobs: | ||
- test: | ||
with: ruby:2.6.3 | ||
test-2.6.0: | ||
jobs: | ||
- test: | ||
with: ruby:2.6.0 | ||
test-2.5.5: | ||
jobs: | ||
- test: | ||
with: ruby:2.5.5 | ||
test-2.5.0: | ||
jobs: | ||
- test: | ||
with: ruby:2.5.0 | ||
test-2.4.6: | ||
jobs: | ||
- test: | ||
with: ruby:2.4.6 | ||
test-2.4.1: | ||
jobs: | ||
- test: | ||
with: ruby:2.4.1 | ||
test-2.3: | ||
jobs: | ||
- test: | ||
with: ruby:2.3 | ||
indicative: true | ||
test-2.1: | ||
jobs: | ||
- test: | ||
with: ruby:2.1 | ||
indicative: true | ||
test-jruby-9.2: | ||
jobs: | ||
- test: | ||
with: jruby:9.2.7.0 | ||
test-jruby-9.1: | ||
jobs: | ||
- test: | ||
with: jruby:9.1.17.0 |