Skip to content

Commit 4f87e21

Browse files
committed
Make some changes
1 parent c93a5bd commit 4f87e21

File tree

2 files changed

+12
-11
lines changed

2 files changed

+12
-11
lines changed

.github/workflows/ci.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,11 +30,11 @@ jobs:
3030
3131
- name: Bundle install for Annotate models
3232
run: |
33-
bundle install --jobs 4 --retry 3
33+
bundle install --jobs=4 --retry=3
3434
3535
- name: Bundle install for Rails app
3636
run: |
37-
BUNDLE_GEMFILE=spec/integration/rails_6.0.2.1/Gemfile bundle install --jobs 4 --retry 3
37+
bundle install --jobs=4 --retry=3 --gemfile=spec/integration/rails_6.0.2.1/Gemfile
3838
3939
- name: Test
4040
run: bundle exec rubocop && bundle exec rspec

.travis.yml

Lines changed: 10 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,29 @@
11
sudo: false
22
language: ruby
33
rvm:
4-
- 2.4.9
5-
- 2.5.7
6-
- 2.6.5
7-
- ruby-head
4+
- 2.6.5
5+
- ruby-head
86

97
matrix:
108
allow_failures:
11-
- rvm: ruby-head
9+
- rvm: ruby-head
1210

1311
before_install:
14-
- yes | gem update --system
15-
- gem update bundler
12+
- gem update --system --no-document --quiet
13+
14+
install:
15+
- bundle install --jobs=3 --retry=3
16+
- bundle install --jobs=4 --retry=3 --gemfile=spec/integration/rails_6.0.2.1/Gemfile
1617

1718
script:
18-
- bundle exec rubocop && bundle exec rspec
19+
- bundle exec rubocop && bundle exec rspec
1920

2021
jobs:
2122
include:
2223
- stage: gem release
2324
if: tag =~ ^v
2425
rvm: 2.6.0
25-
script: echo "Deploying to rubygems.org ..."
26+
script: echo "Deploying to rubygems.org ..."
2627
deploy:
2728
provider: rubygems
2829
api_key: $RUBYGEMS_API_KEY

0 commit comments

Comments
 (0)