From 9d17168fe0642dd47b4f61a08f3ab7048c068a6b Mon Sep 17 00:00:00 2001 From: benji Date: Tue, 3 Mar 2015 16:26:14 +0100 Subject: [PATCH] Travis config --- .travis.yml | 2 +- Gemfile.lock | 25 ++ coverage/.last_run.json | 5 + coverage/.resultset.json | 781 ++++++++++++++++++++++++++++++++++ coverage/.resultset.json.lock | 0 5 files changed, 812 insertions(+), 1 deletion(-) create mode 100644 coverage/.last_run.json create mode 100644 coverage/.resultset.json create mode 100644 coverage/.resultset.json.lock diff --git a/.travis.yml b/.travis.yml index 189d896..145612c 100644 --- a/.travis.yml +++ b/.travis.yml @@ -6,7 +6,7 @@ before_script: - "RAILS_ENV=test bundle exec rake db:create" - "RAILS_ENV=test bundle exec rake db:schema:load" -script: bundle exec rspec +script: bundle exec rake notifications: slack: zeuswpi:1pHNpPMD56jXSGG1w3Ysa9rd diff --git a/Gemfile.lock b/Gemfile.lock index 872b541..15c5db6 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -80,6 +80,12 @@ GEM coffee-script-source (1.9.0) colorize (0.7.5) columnize (0.9.0) + coveralls (0.7.11) + multi_json (~> 1.10) + rest-client (>= 1.6.8, < 2) + simplecov (~> 0.9.1) + term-ansicolor (~> 1.3) + thor (~> 0.19.1) debugger-linecache (1.2.0) devise (3.4.1) bcrypt (~> 3.0) @@ -88,10 +94,12 @@ GEM responders thread_safe (~> 0.1) warden (~> 1.2.3) + docile (1.1.5) erubis (2.7.0) execjs (2.3.0) faker (1.4.2) i18n (~> 0.5) + ffi (1.9.6-x64-mingw32) globalid (0.3.2) activesupport (>= 4.1.0) hike (1.2.3) @@ -116,6 +124,7 @@ GEM net-scp (1.2.1) net-ssh (>= 2.6.5) net-ssh (2.9.2) + netrc (0.10.3) nokogiri (1.6.6.2) mini_portile (~> 0.6.0) nokogiri (1.6.6.2-x64-mingw32) @@ -161,6 +170,13 @@ GEM json (~> 1.4) responders (2.1.0) railties (>= 4.2.0, < 5) + rest-client (1.7.3) + mime-types (>= 1.16, < 3.0) + netrc (~> 0.7) + rest-client (1.7.3-x64-mingw32) + ffi (~> 1.9) + mime-types (>= 1.16, < 3.0) + netrc (~> 0.7) sass (3.2.19) sass-rails (4.0.5) railties (>= 4.0.0, < 5.0) @@ -170,6 +186,11 @@ GEM sdoc (0.4.1) json (~> 1.7, >= 1.7.7) rdoc (~> 4.0) + simplecov (0.9.2) + docile (~> 1.1.0) + multi_json (~> 1.0) + simplecov-html (~> 0.9.0) + simplecov-html (0.9.0) slop (3.6.0) spring (1.3.1) sprockets (2.12.3) @@ -187,9 +208,12 @@ GEM colorize (>= 0.7.0) net-scp (>= 1.1.2) net-ssh (>= 2.8.0) + term-ansicolor (1.3.0) + tins (~> 1.0) thor (0.19.1) thread_safe (0.3.4) tilt (1.4.1) + tins (1.3.5) turbolinks (2.5.3) coffee-rails tzinfo (1.2.2) @@ -217,6 +241,7 @@ DEPENDENCIES capistrano-rails (~> 1.1) capistrano-rvm coffee-rails (~> 4.0.0) + coveralls devise faker (= 1.4.2) jbuilder (~> 2.0) diff --git a/coverage/.last_run.json b/coverage/.last_run.json new file mode 100644 index 0000000..960f7c4 --- /dev/null +++ b/coverage/.last_run.json @@ -0,0 +1,5 @@ +{ + "result": { + "covered_percent": 83.65 + } +} diff --git a/coverage/.resultset.json b/coverage/.resultset.json new file mode 100644 index 0000000..da2e422 --- /dev/null +++ b/coverage/.resultset.json @@ -0,0 +1,781 @@ +{ + "MiniTest": { + "coverage": { + "/Users/benjamin/Tab/config/environment.rb": [ + null, + 1, + null, + null, + 1 + ], + "/Users/benjamin/Tab/config/environments/test.rb": [ + 1, + null, + null, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + 1, + null, + null, + 1, + 1, + null, + null, + 1, + 1, + null, + null, + 1, + null, + null, + 1, + null, + null, + null, + null, + 1, + null, + null, + 1, + null, + 1, + null, + null, + null, + null, + 1, + null, + 1, + null + ], + "/Users/benjamin/Tab/config/initializers/assets.rb": [ + null, + null, + null, + 1, + null, + null, + null, + null + ], + "/Users/benjamin/Tab/config/initializers/backtrace_silencers.rb": [ + null, + null, + null, + null, + null, + null, + null + ], + "/Users/benjamin/Tab/config/initializers/cookies_serializer.rb": [ + null, + null, + 1 + ], + "/Users/benjamin/Tab/config/initializers/devise.rb": [ + null, + null, + 1, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "/Users/benjamin/Tab/config/initializers/filter_parameter_logging.rb": [ + null, + null, + null, + 1 + ], + "/Users/benjamin/Tab/config/initializers/inflections.rb": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null + ], + "/Users/benjamin/Tab/config/initializers/mime_types.rb": [ + null, + null, + null, + null + ], + "/Users/benjamin/Tab/config/initializers/session_store.rb": [ + null, + null, + 1 + ], + "/Users/benjamin/Tab/config/initializers/wrap_parameters.rb": [ + null, + null, + null, + null, + null, + null, + 1, + 1, + null, + null, + null, + null, + null, + null + ], + "/Users/benjamin/Tab/config/routes.rb": [ + 1, + 1, + null, + 1, + 1, + 1, + null, + 1, + 1, + 1, + null, + null, + null, + 1, + 1, + 1, + 1, + null, + null, + 1, + 1, + 1, + 1, + null, + null, + null, + 1, + 1, + null + ], + "/Users/benjamin/Tab/app/models/user.rb": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + 1, + null, + 1, + null, + 1, + null, + 1, + 1, + 1, + null, + 1, + 1, + 1, + 1, + 1, + null, + 1, + null, + 1, + 0, + null, + null, + 1, + 0, + null, + null, + 1, + 0, + 0, + null, + null, + null, + null, + 1, + 0, + null, + null, + null, + null, + 1, + 0, + null, + null, + 1, + 0, + null, + null + ], + "/Users/benjamin/Tab/app/constraints/user_homepage_constraint.rb": [ + 1, + 1, + 0, + null, + null + ], + "/Users/benjamin/Tab/test/controllers/orders_controller_test.rb": [ + 1, + null, + 1, + null, + null, + null, + null + ], + "/Users/benjamin/Tab/test/controllers/products_controller_test.rb": [ + 1, + null, + 1, + null + ], + "/Users/benjamin/Tab/test/controllers/users_controller_test.rb": [ + 1, + null, + 1, + null + ], + "/Users/benjamin/Tab/test/models/order_product_test.rb": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + 1, + null, + null, + null, + null + ], + "/Users/benjamin/Tab/test/models/order_test.rb": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + 1, + 1, + 1, + 1, + 1, + 1, + null, + null + ], + "/Users/benjamin/Tab/test/models/product_test.rb": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + 1, + null, + null, + null, + null + ], + "/Users/benjamin/Tab/test/models/user_test.rb": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + null, + 1, + null, + null, + null, + null + ], + "/Users/benjamin/Tab/app/models/order_item.rb": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + 1, + 1, + null, + 1, + 1, + null, + 1, + 1, + null, + 1, + null, + 1, + 0, + 0, + null, + null, + 1, + null, + 1, + 0, + null, + null, + 1, + 0, + null, + null + ], + "/Users/benjamin/Tab/app/models/order.rb": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + 1, + null, + 2, + 1, + 1, + null, + 1, + 1, + 1, + null, + 1, + null, + 1, + 1, + null, + 1, + null, + 1, + 3, + null, + null, + 1, + null, + 0, + 0, + null, + null, + 1, + 0, + 0, + 0, + 0, + null, + 0, + null, + null, + null, + null + ], + "/Users/benjamin/Tab/app/validators/in_stock_validator.rb": [ + 1, + 1, + 0, + 0, + 0, + null, + 0, + null, + null + ], + "/Users/benjamin/Tab/app/models/product.rb": [ + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + null, + 1, + 1, + 1, + null, + 1, + null, + 1, + 1, + 1, + 1, + 1, + null, + 1, + 0, + null, + null, + 1, + 0, + 0, + null, + null + ] + }, + "timestamp": 1425396353 + } +} diff --git a/coverage/.resultset.json.lock b/coverage/.resultset.json.lock new file mode 100644 index 0000000..e69de29