File tree Expand file tree Collapse file tree 5 files changed +16
-0
lines changed
Expand file tree Collapse file tree 5 files changed +16
-0
lines changed Original file line number Diff line number Diff line change @@ -10,4 +10,5 @@ spec/dummy/storage/
1010spec /dummy /tmp /
1111spec /tmp /
1212node_modules /
13+ /coverage /
1314Gemfile.lock
Original file line number Diff line number Diff line change 1+ env :
2+ global :
3+ - CC_TEST_REPORTER_ID=796169b8dd8f24e0dfbe4ce3f7c3c3f95f5ecc5475b95871f1797664f6b2b3e3
4+
15language : ruby
26cache : bundler
37rvm :
@@ -9,3 +13,9 @@ before_install:
913 - sudo apt-get update
1014 - sudo apt-get install chromium-chromedriver
1115 - " export PATH=$PATH:/usr/lib/chromium-browser/"
16+ - curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
17+ - chmod +x ./cc-test-reporter
18+ - ./cc-test-reporter before-build
19+
20+ after_script :
21+ - ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
Original file line number Diff line number Diff line change 11# ActiveAdminChat
22
33[ ![ Build Status] ( https://travis-ci.org/rootstrap/active_admin_chat.svg?branch=master )] ( https://travis-ci.org/rootstrap/active_admin_chat )
4+ [ ![ Maintainability] ( https://api.codeclimate.com/v1/badges/7a8d43aef79218e8f772/maintainability )] ( https://codeclimate.com/github/rootstrap/active_admin_chat/maintainability )
5+ [ ![ Test Coverage] ( https://api.codeclimate.com/v1/badges/7a8d43aef79218e8f772/test_coverage )] ( https://codeclimate.com/github/rootstrap/active_admin_chat/test_coverage )
46
57Get a chat for your ActiveAdmin app out of the box.
68
Original file line number Diff line number Diff line change @@ -28,6 +28,7 @@ Gem::Specification.new do |s|
2828 s . add_development_dependency 'rspec-rails' , '~> 3.8'
2929 s . add_development_dependency 'rubocop' , '~> 0.59.2'
3030 s . add_development_dependency 'selenium-webdriver'
31+ s . add_development_dependency 'simplecov'
3132 s . add_development_dependency 'sqlite3'
3233 s . add_development_dependency 'timecop'
3334end
Original file line number Diff line number Diff line change 88# Add additional requires below this line. Rails is not loaded until this point!
99require 'action_cable/testing/rspec'
1010require 'selenium/webdriver'
11+ require 'simplecov'
12+ SimpleCov . start
1113
1214# Setup ActiveAdmin
1315ActiveAdmin . application . load_paths = [ File . expand_path ( 'dummy/app/admin' , __dir__ ) ]
You can’t perform that action at this time.
0 commit comments