Adding travis CI

pull/2/merge
Eugen Rochko 7 years ago
parent c376932f31
commit 237a9c2e81
  1. 12
      .travis.yml
  2. 3
      Gemfile
  3. 6
      Gemfile.lock
  4. 4
      README.md
  5. 8
      Rakefile

@ -0,0 +1,12 @@
language: ruby
cache: bundler
rvm:
- 2.0.0
- 2.1
- 2.2
- ruby-head
bundler_args: --without development --retry=3 --jobs=3
script: bundle exec rake

@ -1,11 +1,12 @@
source "https://rubygems.org"
gem 'pry'
gem 'pry', '>= 0.10.3'
group :test do
gem 'rspec', '>= 3.0'
gem 'nyan-cat-formatter'
gem 'webmock'
gem 'rake'
end
gemspec

@ -32,10 +32,11 @@ GEM
mini_portile2 (~> 2.0.0.rc2)
nyan-cat-formatter (0.11)
rspec (>= 2.99, >= 2.14.2, < 4)
pry (0.10.1)
pry (0.10.3)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
rake (10.5.0)
rspec (3.4.0)
rspec-core (~> 3.4.0)
rspec-expectations (~> 3.4.0)
@ -66,6 +67,7 @@ DEPENDENCIES
bundler (~> 1.3)
goldfinger!
nyan-cat-formatter
pry
pry (>= 0.10.3)
rake
rspec (>= 3.0)
webmock

@ -2,8 +2,12 @@ Goldfinger, a Webfinger client for Ruby
=======================================
[![Gem Version](http://img.shields.io/gem/v/goldfinger.svg)][gem]
[![Build Status](http://img.shields.io/travis/gargron/goldfinger.svg)][travis]
[![Dependency Status](http://img.shields.io/gemnasium/gargron/goldfinger.svg)][gemnasium]
[gem]: https://rubygems.org/gems/goldfinger
[travis]: https://travis-ci.org/gargron/goldfinger
[gemnasium]: https://gemnasium.com/gargron/goldfinger
A Webfinger client for Ruby. Supports `application/xrd+xml` and `application/jrd+json` responses. Raises `Goldfinger::NotFoundError` on failure to fetch the Webfinger or XRD data, or `Goldfinger::SSLError` if something is wrong with the HTTPS connection it uses.

@ -0,0 +1,8 @@
require 'rspec/core/rake_task'
require 'bundler/gem_tasks'
RSpec::Core::RakeTask.new(:spec) do |task|
task.rspec_opts = ['--color', '--format', 'documentation']
end
task :default => :spec
Loading…
Cancel
Save