Skip to content

Commit 059ad1e

Browse files
committed
Working on code climate and coverage reporting.
1 parent 7695127 commit 059ad1e

File tree

4 files changed

+18
-8
lines changed

4 files changed

+18
-8
lines changed

.codeclimate.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
languages:
2+
Ruby: true
3+
CoffeeScript: true
4+
exclude_paths:
5+
- "teaspoon-qunit/**/*"
6+
- "teaspoon-mocha/**/*"
7+
- "teaspoon-jasmine/**/*"
8+
- "app/assets/javascripts/support/**/*"
9+
- "**/*_spec.rb"

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,6 @@ before_script:
2525
before_install:
2626
- gem install bundler
2727
script:
28-
- bundle exec rspec
28+
- bundle exec rake
2929
after_script:
3030
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
### Unreleased
22

3+
* Adds support for Rails 6.
34
* Removes build support for Rails 3 & 4.
4-
* Removes build support for Ruby < 2.4.
5+
* Removes build support for Ruby < 2.5.
56
* Removes support for capybara webkit.
67

78
#### Bug Fixes

spec/spec_helper.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,15 @@
11
require "simplecov"
2-
SimpleCov.profiles.define "teaspoon" do
2+
SimpleCov.start do
33
filters.clear
44
add_filter { |src| !(src.filename =~ /^#{SimpleCov.root}/) unless src.filename =~ /teaspoon/ }
55
# filter the framework implementations
6-
add_filter("lib/teaspoon-(jasmine|mocha|qunit).rb")
6+
add_filter "teaspoon-(jasmine|mocha|qunit)/**/framework.rb"
77
# filter deprecation warnings, devkit tools, and our teaspoon envs
8-
add_filter("teaspoon/deprecated.rb")
9-
add_filter("devkit.rb")
10-
add_filter("teaspoon_env.rb")
8+
add_filter "teaspoon/deprecated.rb"
9+
add_filter "devkit.rb"
10+
add_filter "teaspoon_env.rb"
1111
# filter the controller, since it's tested elsewhere
12-
add_filter("suite_controller.rb")
12+
add_filter "suite_controller.rb"
1313
end
1414

1515
ENV["RAILS_ENV"] ||= "test"

0 commit comments

Comments
 (0)