Skip to content

Commit d3756a6

Browse files
committed
Add travis badge to README.md
1 parent d82a2c9 commit d3756a6

File tree

6 files changed

+19
-3
lines changed

6 files changed

+19
-3
lines changed

.travis.xml renamed to .travis.yml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@ rvm:
66
- 2.5
77
- 2.6
88
- 2.7
9+
10+
before_install:
11+
- gem install bundler:1.17.2
912

1013
script:
1114
- bundle exec rake

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,5 @@ group :development do
88
gem "mocha"
99
gem "rake"
1010
gem "test-unit"
11+
gem "bundler"
1112
end

Gemfile.lock

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
PATH
22
remote: .
33
specs:
4-
podcast_api (1.0.1)
4+
podcast_api (1.0.2)
55
httparty
66

77
GEM
@@ -24,6 +24,7 @@ PLATFORMS
2424
ruby
2525

2626
DEPENDENCIES
27+
bundler
2728
mocha
2829
podcast_api!
2930
rake

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Podcast API Ruby Library
22

3+
[![Build Status](https://travis-ci.com/ListenNotes/podcast-api-ruby.svg?branch=main)](https://travis-ci.com/ListenNotes/podcast-api-ruby)
4+
35

46
The Podcast API Ruby library provides convenient access to the [Listen Notes Podcast API](https://www.listennotes.com/api/) from
57
applications written in Ruby.

RakeFile

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,5 +5,5 @@ Rake::TestTask.new(:test) do |test|
55
test.test_files = FileList['tests/*_test.rb']
66
end
77

8-
desc "Run Tests"
9-
task :default => :test
8+
desc 'Run Tests'
9+
task :default => :test

rakefile.rb

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
require 'rake/testtask'
2+
3+
Rake::TestTask.new(:test) do |test|
4+
test.libs << 'test'
5+
test.test_files = FileList['tests/*_test.rb']
6+
end
7+
8+
desc 'Run Tests'
9+
task :default => :test

0 commit comments

Comments
 (0)