Add .travis.yml

This commit is contained in:
David Yun 2015-10-28 14:50:44 +08:00
parent 782b3e9a3e
commit c98e728891
6 changed files with 84 additions and 2 deletions

1
.gitignore vendored
View File

@ -8,6 +8,7 @@
/test/tmp/ /test/tmp/
/test/version_tmp/ /test/version_tmp/
/tmp/ /tmp/
.DS_Store
## Specific to RubyMotion: ## Specific to RubyMotion:
.dat* .dat*

3
.travis.yml Normal file
View File

@ -0,0 +1,3 @@
language: ruby
rvm:
- 2.2.3

View File

@ -4,4 +4,3 @@ gemspec
# For test OCR # For test OCR
gem 'rtesseract' gem 'rtesseract'
gem 'mini_magick' gem 'mini_magick'
gem 'activesupport'

View File

@ -7,21 +7,87 @@ PATH
GEM GEM
remote: https://rubygems.org/ remote: https://rubygems.org/
specs: specs:
actionmailer (4.2.4)
actionpack (= 4.2.4)
actionview (= 4.2.4)
activejob (= 4.2.4)
mail (~> 2.5, >= 2.5.4)
rails-dom-testing (~> 1.0, >= 1.0.5)
actionpack (4.2.4)
actionview (= 4.2.4)
activesupport (= 4.2.4)
rack (~> 1.6)
rack-test (~> 0.6.2)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
actionview (4.2.4)
activesupport (= 4.2.4)
builder (~> 3.1)
erubis (~> 2.7.0)
rails-dom-testing (~> 1.0, >= 1.0.5)
rails-html-sanitizer (~> 1.0, >= 1.0.2)
activejob (4.2.4)
activesupport (= 4.2.4)
globalid (>= 0.3.0)
activemodel (4.2.4)
activesupport (= 4.2.4)
builder (~> 3.1)
activerecord (4.2.4)
activemodel (= 4.2.4)
activesupport (= 4.2.4)
arel (~> 6.0)
activesupport (4.2.4) activesupport (4.2.4)
i18n (~> 0.7) i18n (~> 0.7)
json (~> 1.7, >= 1.7.7) json (~> 1.7, >= 1.7.7)
minitest (~> 5.1) minitest (~> 5.1)
thread_safe (~> 0.3, >= 0.3.4) thread_safe (~> 0.3, >= 0.3.4)
tzinfo (~> 1.1) tzinfo (~> 1.1)
arel (6.0.3)
builder (3.2.2)
diff-lcs (1.2.5) diff-lcs (1.2.5)
erubis (2.7.0)
globalid (0.3.6)
activesupport (>= 4.1.0)
i18n (0.7.0) i18n (0.7.0)
json (1.8.3) json (1.8.3)
loofah (2.0.3)
nokogiri (>= 1.5.9)
mail (2.6.3)
mime-types (>= 1.16, < 3)
mime-types (2.6.2)
mini_magick (4.3.6) mini_magick (4.3.6)
mini_portile (0.6.2) mini_portile (0.6.2)
minitest (5.8.2) minitest (5.8.2)
nokogiri (1.6.6.2) nokogiri (1.6.6.2)
mini_portile (~> 0.6.0) mini_portile (~> 0.6.0)
posix-spawn (0.3.11) posix-spawn (0.3.11)
rack (1.6.4)
rack-test (0.6.3)
rack (>= 1.0)
rails (4.2.4)
actionmailer (= 4.2.4)
actionpack (= 4.2.4)
actionview (= 4.2.4)
activejob (= 4.2.4)
activemodel (= 4.2.4)
activerecord (= 4.2.4)
activesupport (= 4.2.4)
bundler (>= 1.3.0, < 2.0)
railties (= 4.2.4)
sprockets-rails
rails-deprecated_sanitizer (1.0.3)
activesupport (>= 4.2.0.alpha)
rails-dom-testing (1.0.7)
activesupport (>= 4.2.0.beta, < 5.0)
nokogiri (~> 1.6.0)
rails-deprecated_sanitizer (>= 1.0.1)
rails-html-sanitizer (1.0.2)
loofah (~> 2.0)
railties (4.2.4)
actionpack (= 4.2.4)
activesupport (= 4.2.4)
rake (>= 0.8.7)
thor (>= 0.18.1, < 2.0)
rake (10.4.2) rake (10.4.2)
rspec (3.3.0) rspec (3.3.0)
rspec-core (~> 3.3.0) rspec-core (~> 3.3.0)
@ -38,6 +104,13 @@ GEM
rspec-support (3.3.0) rspec-support (3.3.0)
rtesseract (1.3.1) rtesseract (1.3.1)
nokogiri nokogiri
sprockets (3.3.5)
rack (> 1, < 3)
sprockets-rails (2.3.3)
actionpack (>= 3.0)
activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0)
thor (0.19.1)
thread_safe (0.3.5) thread_safe (0.3.5)
tzinfo (1.2.2) tzinfo (1.2.2)
thread_safe (~> 0.1) thread_safe (~> 0.1)
@ -46,8 +119,8 @@ PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
activesupport
mini_magick mini_magick
rails
rake rake
rspec (>= 3.3.0) rspec (>= 3.3.0)
rtesseract rtesseract

5
Rakefile Normal file
View File

@ -0,0 +1,5 @@
require "bundler/gem_tasks"
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new(:spec)
task default: :spec

View File

@ -16,5 +16,6 @@ Gem::Specification.new do |s|
s.add_dependency 'posix-spawn', '>= 0.3.0' s.add_dependency 'posix-spawn', '>= 0.3.0'
s.add_development_dependency 'rake' s.add_development_dependency 'rake'
s.add_development_dependency 'rails'
s.add_development_dependency 'rspec', '>= 3.3.0' s.add_development_dependency 'rspec', '>= 3.3.0'
end end