Skip to content

Commit 638bad0

Browse files
committed
Update Travis config
1 parent aeb3b5d commit 638bad0

File tree

2 files changed

+10
-8
lines changed

2 files changed

+10
-8
lines changed

.travis.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,19 +1,21 @@
11
sudo: required
2+
23
language: ruby
4+
35
addons:
46
chrome: stable
57

6-
before_install: gem install bundler -v 1.17.1
8+
before_install:
9+
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
10+
- gem install bundler -v '< 2'
711

812
script: bundle exec rspec
913

1014
env:
1115
matrix:
1216
- RAILS=5.1.6 AA=1.1.0
13-
- RAILS=5.1.6 AA=1.2.1
14-
- RAILS=5.2.1 AA=1.3.1
1517
- RAILS=5.2.1 AA=1.4.0
1618

1719
rvm:
18-
- 2.3
19-
- 2.5
20+
- 2.4
21+
- 2.6

Gemfile

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,11 @@ source 'https://rubygems.org'
44
gemspec
55

66
group :test do
7-
gem 'rails', "#{ENV['RAILS'] || '5.2.1'}"
8-
gem 'activeadmin', "#{ENV['AA'] || '1.3.1'}"
7+
gem 'rails', "~> #{ENV['RAILS'] || '5.2.1'}"
8+
gem 'activeadmin', "~> #{ENV['AA'] || '1.3.1'}"
99

1010
gem 'rspec-rails'
11-
gem 'sqlite3'
11+
gem 'sqlite3', '~> 1.3.6'
1212
gem 'database_cleaner'
1313
gem 'capybara'
1414
gem 'selenium-webdriver'

0 commit comments

Comments
 (0)