fix travis build

This commit is contained in:
Loic Nageleisen 2015-08-05 15:04:45 +02:00
parent 32b99b62bf
commit 4de945073f
5 changed files with 11 additions and 5 deletions

View file

@ -1,7 +1,7 @@
language: ruby language: ruby
ruby: rvm:
- 1.9.3 - 2.1
- 2.0.0 - 2.2
- 2.1.3 - rbx-2.5
script: script:
rake spec rubocop rake spec rubocop

View file

@ -18,4 +18,5 @@ task :coverage do
Rake::Task['spec'].execute Rake::Task['spec'].execute
end end
task default: :spec task default: :ci
task ci: [:spec, :rubocop]

View file

@ -16,6 +16,7 @@ class Package < Module
end end
# Return the package as a value # Return the package as a value
# rubocop:disable Lint/UnusedMethodArgument
def import_to_value(_binding, namespace, as: nil) def import_to_value(_binding, namespace, as: nil)
Package.new(namespace) Package.new(namespace)
end end

View file

@ -1,3 +1,5 @@
# rubocop:disable all
$LOAD_PATH.push File.expand_path(File.join(File.dirname(__FILE__), 'lib')) $LOAD_PATH.push File.expand_path(File.join(File.dirname(__FILE__), 'lib'))
require 'pry' require 'pry'

View file

@ -1,3 +1,5 @@
# rubocop:disable all
require 'pp' require 'pp'
#require 'pry' #require 'pry'
require 'binding_of_caller' require 'binding_of_caller'