Skip to content
This repository was archived by the owner on Jul 19, 2025. It is now read-only.

Commit dc97e0e

Browse files
committed
Report test coverage.
And Notify slack about builds.
1 parent a600431 commit dc97e0e

File tree

3 files changed

+11
-0
lines changed

3 files changed

+11
-0
lines changed

.travis.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,10 @@
11
language: ruby
2+
cache: bundler
23
rvm:
34
- 1.9.3
45
- 2.1.2
6+
env:
7+
global:
8+
CODECLIMATE_REPO_TOKEN=5095391006b09e374e5d9232c41a09cfa6a3bdb1f9529c2485052416f743b4fe
9+
notifications:
10+
slack: codeclimate:XU4Q4aPrFuBk6n2kt8sy0DLb

Gemfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,3 +4,4 @@ source 'https://rubygems.org'
44
gemspec
55

66
gem "pry"
7+
gem "codeclimate-test-reporter"

test/helper.rb

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
require 'test/unit'
22
require 'pp'
3+
4+
require "codeclimate-test-reporter"
5+
CodeClimate::TestReporter.start
6+
37
require File.expand_path('../../config/load', __FILE__)
48
require File.expand_path('../fixtures', __FILE__)
59
CC::Service.load_services

0 commit comments

Comments
 (0)