Skip to content

Commit

Permalink
Merge pull request #111 from cryptosphere/ci-with-gem
Browse files Browse the repository at this point in the history
Use rbnacl-libsodium gem for CI
  • Loading branch information
tarcieri committed Sep 27, 2014
2 parents 02308ca + 60a8f2b commit a95305c
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 75 deletions.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
script: "LD_LIBRARY_PATH=lib bundle exec rake ci"
script: bundle exec rake ci

rvm:
- 1.9.3
Expand Down
3 changes: 2 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,5 +8,6 @@ group :development do
end

group :test do
gem 'coveralls', :require => false
gem 'coveralls', require: false
gem 'rbnacl-libsodium'
end
9 changes: 5 additions & 4 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
require "bundler/gem_tasks"
Dir[File.expand_path("../tasks/**/*.rake", __FILE__)].each { |task| load task }
require File.expand_path("../lib/rbnacl/rake_tasks", __FILE__)
require 'bundler/gem_tasks'

task :default => %w(spec rubocop)
Dir[File.expand_path('../tasks/**/*.rake', __FILE__)].each { |task| load task }

task default: %w(spec rubocop)
task ci: :spec
57 changes: 0 additions & 57 deletions lib/rbnacl/rake_tasks.rb

This file was deleted.

2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
$RBNACL_SELF_TEST = false

require 'bundler/setup'
require 'rbnacl'
require 'rbnacl/libsodium'
require 'shared/box'
require 'shared/authenticator'
require 'shared/key_equality'
Expand Down
11 changes: 0 additions & 11 deletions tasks/ci.rake

This file was deleted.

0 comments on commit a95305c

Please sign in to comment.