From d9fe2108024f8f034b178b692e54adee62209336 Mon Sep 17 00:00:00 2001 From: Edmund Haselwanter Date: Mon, 23 Jun 2014 12:03:15 +0200 Subject: [PATCH] add travis config, add default task to rakefile --- .travis.yml | 4 ++++ Rakefile | 1 + 2 files changed, 5 insertions(+) create mode 100644 .travis.yml diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..7a86561 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,4 @@ +rvm: + - 1.9.3 + - 2.0.0 +language: ruby diff --git a/Rakefile b/Rakefile index 54a1367..a06b576 100644 --- a/Rakefile +++ b/Rakefile @@ -13,6 +13,7 @@ end # Lint the cookbook desc 'Run linters' task :run_all_linters => [:rubocop] # rubocop:disable Style/HashSyntax +task :default => :run_all_linters # rubocop:disable Style/HashSyntax # Serverspec tests suites = Dir.glob('*').select { |entry| File.directory?(entry) }