Skip to content

Commit d22b9af

Browse files
committed
Add TravisCI config
1 parent eb150af commit d22b9af

File tree

2 files changed

+27
-5
lines changed

2 files changed

+27
-5
lines changed

.travis.yml

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
sudo: required
2+
language: ruby
3+
addons:
4+
chrome: stable
5+
6+
before_install: gem install bundler -v 1.17.1
7+
8+
script: bundle exec rspec
9+
10+
env:
11+
matrix:
12+
- 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
15+
- RAILS=5.2.1 AA=1-4-stable
16+
17+
rvm:
18+
- 2.3
19+
- 2.5

Gemfile

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

66
group :test do
7-
gem 'rails', '~> 5.1.6'
8-
gem 'turbolinks'
7+
gem 'rails', "#{ENV['RAILS'] || '5.2.1'}"
8+
if ENV['AA'] == '1-4-stable'
9+
gem 'activeadmin', git: 'https://github.com/activeadmin/activeadmin.git', branch: '1-4-stable'
10+
else
11+
gem 'activeadmin', "#{ENV['AA'] || '1.3.1'}"
12+
end
13+
914
gem 'rspec-rails'
10-
gem 'activeadmin', '~> 1.1.0'
11-
gem 'sass-rails'
1215
gem 'sqlite3'
13-
gem 'launchy'
1416
gem 'database_cleaner'
1517
gem 'capybara'
1618
gem 'selenium-webdriver'
1719
gem 'chromedriver-helper'
20+
gem 'byebug'
1821
end

0 commit comments

Comments
 (0)