Commit 174540b1 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

added .travis.yml, coveralls

parent fc8bd8f7
language: ruby
env:
- TRAVIS=true
branches:
only:
- 'master'
rvm:
- 1.9.3-p327
before_script:
- "cp config.yml.example config.yml"
script: "bundle exec rspec spec"
source "http://rubygems.org" source "http://rubygems.org"
group :development do group :development do
gem 'coveralls', require: false
gem 'rspec' gem 'rspec'
gem 'guard' gem 'guard'
gem 'guard-rspec' gem 'guard-rspec'
......
...@@ -2,6 +2,13 @@ GEM ...@@ -2,6 +2,13 @@ GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
coderay (1.0.8) coderay (1.0.8)
colorize (0.5.8)
coveralls (0.6.2)
colorize
multi_json (~> 1.3)
rest-client
simplecov (>= 0.7)
thor
diff-lcs (1.1.3) diff-lcs (1.1.3)
guard (1.5.4) guard (1.5.4)
listen (>= 0.4.2) listen (>= 0.4.2)
...@@ -14,10 +21,14 @@ GEM ...@@ -14,10 +21,14 @@ GEM
listen (0.5.3) listen (0.5.3)
lumberjack (1.0.2) lumberjack (1.0.2)
method_source (0.8.1) method_source (0.8.1)
mime-types (1.21)
multi_json (1.6.1)
pry (0.9.10) pry (0.9.10)
coderay (~> 1.0.5) coderay (~> 1.0.5)
method_source (~> 0.8) method_source (~> 0.8)
slop (~> 3.3.1) slop (~> 3.3.1)
rest-client (1.6.7)
mime-types (>= 1.16)
rspec (2.12.0) rspec (2.12.0)
rspec-core (~> 2.12.0) rspec-core (~> 2.12.0)
rspec-expectations (~> 2.12.0) rspec-expectations (~> 2.12.0)
...@@ -26,6 +37,10 @@ GEM ...@@ -26,6 +37,10 @@ GEM
rspec-expectations (2.12.1) rspec-expectations (2.12.1)
diff-lcs (~> 1.1.3) diff-lcs (~> 1.1.3)
rspec-mocks (2.12.2) rspec-mocks (2.12.2)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
slop (3.3.3) slop (3.3.3)
thor (0.16.0) thor (0.16.0)
...@@ -33,6 +48,7 @@ PLATFORMS ...@@ -33,6 +48,7 @@ PLATFORMS
ruby ruby
DEPENDENCIES DEPENDENCIES
coveralls
guard guard
guard-rspec guard-rspec
rspec rspec
ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), "..")) ROOT_PATH = File.expand_path(File.join(File.dirname(__FILE__), ".."))
if ENV['TRAVIS']
require 'coveralls'
Coveralls.wear!
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment