Skip to content

Commit

Permalink
Working on code climate and coverage reporting.
Browse files Browse the repository at this point in the history
  • Loading branch information
jejacks0n committed Apr 29, 2019
1 parent 7695127 commit 059ad1e
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 8 deletions.
9 changes: 9 additions & 0 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
languages:
Ruby: true
CoffeeScript: true
exclude_paths:
- "teaspoon-qunit/**/*"
- "teaspoon-mocha/**/*"
- "teaspoon-jasmine/**/*"
- "app/assets/javascripts/support/**/*"
- "**/*_spec.rb"
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,6 @@ before_script:
before_install:
- gem install bundler
script:
- bundle exec rspec
- bundle exec rake
after_script:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
### Unreleased

* Adds support for Rails 6.
* Removes build support for Rails 3 & 4.
* Removes build support for Ruby < 2.4.
* Removes build support for Ruby < 2.5.
* Removes support for capybara webkit.

#### Bug Fixes
Expand Down
12 changes: 6 additions & 6 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
require "simplecov"
SimpleCov.profiles.define "teaspoon" do
SimpleCov.start do
filters.clear
add_filter { |src| !(src.filename =~ /^#{SimpleCov.root}/) unless src.filename =~ /teaspoon/ }
# filter the framework implementations
add_filter("lib/teaspoon-(jasmine|mocha|qunit).rb")
add_filter "teaspoon-(jasmine|mocha|qunit)/**/framework.rb"
# filter deprecation warnings, devkit tools, and our teaspoon envs
add_filter("teaspoon/deprecated.rb")
add_filter("devkit.rb")
add_filter("teaspoon_env.rb")
add_filter "teaspoon/deprecated.rb"
add_filter "devkit.rb"
add_filter "teaspoon_env.rb"
# filter the controller, since it's tested elsewhere
add_filter("suite_controller.rb")
add_filter "suite_controller.rb"
end

ENV["RAILS_ENV"] ||= "test"
Expand Down

0 comments on commit 059ad1e

Please sign in to comment.