Skip to content

Commit

Permalink
adds travis config and simplecov dependency
Browse files Browse the repository at this point in the history
  • Loading branch information
dgilperez committed Apr 22, 2017
1 parent 3ab0685 commit 4124e87
Show file tree
Hide file tree
Showing 3 changed files with 42 additions and 1 deletion.
39 changes: 39 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
sudo: false

cache: bundler

script: 'bundle exec rake'

rvm:
- 1.9.3
- 2.0.0
- 2.1.5
- 2.2.0
- 2.2.4
- 2.3.0

gemfile:
- gemfiles/rails_3.2.gemfile
- gemfiles/rails_4.0.gemfile
- gemfiles/rails_4.1.gemfile
- gemfiles/rails_4.2.gemfile
- gemfiles/rails_5.0.gemfile

matrix:
fast_finish: true
exclude:
- rvm: 1.9.3
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.0.0
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.1.5
gemfile: gemfiles/rails_5.0.gemfile
- rvm: 2.2.0
gemfile: gemfiles/rails_5.0.gemfile

addons:
code_climate:
repo_token: 3a0f3547e95bcf5828df4c53639a2267fe0d61d9ac816220772e5337120aceeb

after_success:
- bundle exec codeclimate-test-reporter
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# SpanishVatValidators
# SpanishVatValidators [![Build Status](https://travis-ci.org/dgilperez/spanish_vat_validators.svg?branch=master)](https://travis-ci.org/dgilperez/spanish_vat_validators)[![Code Climate](https://codeclimate.com/github/dgilperez/spanish_vat_validators/badges/gpa.svg)](https://codeclimate.com/github/dgilperez/spanish_vat_validators)

I've adapted the code from the ValidateSpanishVAT plugin from https://github.com/lleirborras/ValidateSpanishVAT to be distributed as a gem for ease of use with Rails 3.

Expand Down
2 changes: 2 additions & 0 deletions spanish_vat_validators.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,6 @@ Gem::Specification.new do |gem|
gem.add_development_dependency 'rake'
gem.add_development_dependency 'rspec'
gem.add_development_dependency 'appraisal'
gem.add_development_dependency 'simplecov'
gem.add_development_dependency 'codeclimate-test-reporter', '~> 1.0.0'
end

0 comments on commit 4124e87

Please sign in to comment.