Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Adding Travis as CI server

  • Loading branch information...
commit 0ed6f1c388f786c70cd4c86554609293e0a2e1e7 1 parent 3724c96
@guiocavalcanti guiocavalcanti authored
View
6 .travis.yml
@@ -0,0 +1,6 @@
+language: ruby
+rvm:
+ - 1.9.2
+services:
+ - rabbitmq
+ - mongodb
View
1  Gemfile
@@ -8,6 +8,7 @@ gem 'em-synchrony'
gem 'bson_ext'
gem 'amqp'
gem 'yajl-ruby'
+gem 'rake'
group :development, :test do
gem 'rspec'
View
2  Gemfile.lock
@@ -70,6 +70,7 @@ GEM
rack (>= 1.0.0)
rack-respond_to (0.9.8)
rack-accept-media-types (>= 0.6)
+ rake (0.9.2.2)
rspec (2.11.0)
rspec-core (~> 2.11.0)
rspec-expectations (~> 2.11.0)
@@ -93,5 +94,6 @@ DEPENDENCIES
em-synchrony
goliath
grape!
+ rake
rspec
yajl-ruby
View
4 README.mkd
@@ -4,6 +4,8 @@ Auhtorization for distributed systems. It provides the infrastructure to create,
This project is in alpha mode and should be not used in production yet.
+[![Build Status](https://travis-ci.org/redu/permit.png)](https://travis-ci.org/redu/permit)
+
## Definitions and terminology
The policy is the set of rules that determine what is allowed in the system. The mechanism is the set of software and/or hardware components that know how to enforce the policy in the system [1].
@@ -122,4 +124,4 @@ Permission is hereby granted, free of charge, to any person obtaining a copy of
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
View
9 Rakefile
@@ -0,0 +1,9 @@
+require 'bundler/setup'
+require 'rspec/core/rake_task'
+
+desc 'Run the specs'
+RSpec::Core::RakeTask.new do |r|
+ r.verbose = false
+end
+
+task :default => :spec
Please sign in to comment.
Something went wrong with that request. Please try again.