Skip to content

Commit

Permalink
Travis CI
Browse files Browse the repository at this point in the history
  • Loading branch information
alaz committed Dec 20, 2016
1 parent b42f04f commit a287b47
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 13 deletions.
5 changes: 5 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
sudo: false
language: ruby
cache: bundler
rvm:
- 2.2
2 changes: 0 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
@@ -1,4 +1,2 @@
source 'https://rubygems.org'
gemspec

gem 'rake'
5 changes: 3 additions & 2 deletions Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -7,8 +7,9 @@ require "rake/testtask"

Rake::TestTask.new do |t|
t.libs << "test"
t.test_files = FileList['test/**/*_test.rb']
t.verbose = false
t.test_files = FileList['test/*_test.rb']
t.warning = true
t.verbose = true
end

task default: %w[test]
5 changes: 3 additions & 2 deletions legitbot.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,10 @@ Gem::Specification.new do |spec|
"made by a real search engine, not a fake"

spec.required_ruby_version = '>= 2.0.0'
spec.add_development_dependency "rake"
spec.add_development_dependency "minitest"

spec.files = Dir.glob("{lib}/**/*") + %w(Rakefile README.md LICENSE.txt)
spec.files = `git ls-files`.split($/)
spec.rdoc_options = ["--charset=UTF-8"]
spec.require_paths = ["lib"]
spec.test_files = Dir.glob("test/**/*")
end
14 changes: 7 additions & 7 deletions lib/legitbot.rb
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
require 'resolv'

require 'legitbot/legitbot'
require 'legitbot/match'
require 'legitbot/google'
require 'legitbot/yandex'
require 'legitbot/bing'
require 'legitbot/baidu'
require 'legitbot/duckduckgo'
require_relative 'legitbot/legitbot'
require_relative 'legitbot/match'
require_relative 'legitbot/google'
require_relative 'legitbot/yandex'
require_relative 'legitbot/bing'
require_relative 'legitbot/baidu'
require_relative 'legitbot/duckduckgo'

0 comments on commit a287b47

Please sign in to comment.