Skip to content

Commit 70819e3

Browse files
committed
Add Travis configuration
1 parent 196991a commit 70819e3

File tree

4 files changed

+12
-1
lines changed

4 files changed

+12
-1
lines changed

.travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
language: ruby
2+
rvm:
3+
- 2.5.1

Gemfile

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,12 @@ source "https://rubygems.org"
44

55
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
66

7+
gem "rake"
78
gem "rubocop"
89
gem "rspec-core", github: "rspec/rspec-core"
910
gem "rspec-support", github: "rspec/rspec-support"
1011
gem "rspec-expectations", github: "rspec/rspec-expectations"
1112
gem "rspec-mocks", github: "rspec/rspec-mocks"
12-
gem "pry-byebug"
13+
gem "pry-byebug", platform: :mri
1314

1415
gemspec

Gemfile.lock

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,7 @@ GEM
5656
byebug (~> 10.0)
5757
pry (~> 0.10)
5858
rainbow (3.0.0)
59+
rake (12.3.1)
5960
rubocop (0.58.2)
6061
jaro_winkler (~> 1.5.1)
6162
parallel (~> 1.10)
@@ -73,6 +74,7 @@ PLATFORMS
7374

7475
DEPENDENCIES
7576
pry-byebug
77+
rake
7678
rspec-core!
7779
rspec-expectations!
7880
rspec-mocks!

Rakefile

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
require "rspec/core/rake_task"
2+
3+
RSpec::Core::RakeTask.new(:spec)
4+
5+
task default: :spec

0 commit comments

Comments
 (0)