Skip to content

Commit

Permalink
Add Coveralls status
Browse files Browse the repository at this point in the history
  • Loading branch information
tmatilai committed Dec 1, 2013
1 parent 0470756 commit a670053
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 10 deletions.
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@ source 'https://rubygems.org'
gemspec

gem 'cane', '~> 2.6'
gem 'coveralls', require: false
gem 'rake'
gem 'rspec', '~> 2.11'
gem 'simplecov', '~> 0.7', :require => false
gem 'tailor', '~> 1.2'
gem 'vagrant', github: 'mitchellh/vagrant', ref: 'v1.3.5'

Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,12 +5,14 @@
[![Build Status](https://travis-ci.org/tmatilai/vagrant-proxyconf.png?branch=master)][travis]
[![Dependency Status](https://gemnasium.com/tmatilai/vagrant-proxyconf.png)][gemnasium]
[![Code Climate](https://codeclimate.com/github/tmatilai/vagrant-proxyconf.png)][codeclimate]
[![Coverage Status](https://coveralls.io/repos/tmatilai/vagrant-proxyconf/badge.png)][coveralls]
</span>

[gem]: https://rubygems.org/gems/vagrant-proxyconf
[travis]: https://travis-ci.org/tmatilai/vagrant-proxyconf
[gemnasium]: https://gemnasium.com/tmatilai/vagrant-proxyconf
[codeclimate]: https://codeclimate.com/github/tmatilai/vagrant-proxyconf
[coveralls]: https://coveralls.io/r/tmatilai/vagrant-proxyconf

A [Vagrant](http://www.vagrantup.com/) plugin that configures the virtual machine to use specified proxies. This is useful for example in case you are behind a corporate proxy server, or you have a caching proxy (for example [polipo](https://github.com/tmatilai/polipo-box)).

Expand Down
20 changes: 11 additions & 9 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,16 +1,18 @@
require 'simplecov'
require 'coveralls'
SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov::Formatter::HTMLFormatter,
Coveralls::SimpleCov::Formatter
]
SimpleCov.start do
coverage_dir('tmp/coverage')
add_filter '/spec/'
end

RSpec.configure do |config|
config.expect_with :rspec do |c|
c.syntax = :expect
end
config.color = true
config.tty = true
end

require 'simplecov'
SimpleCov.start do
coverage_dir('tmp/coverage')
add_filter '/spec/'
end

require 'tempfile'
require 'vagrant-proxyconf'

0 comments on commit a670053

Please sign in to comment.