Skip to content

Commit

Permalink
Set up travis test coverage reporting
Browse files Browse the repository at this point in the history
  • Loading branch information
colinpetruno committed Mar 12, 2020
1 parent 6070e14 commit 3383f69
Show file tree
Hide file tree
Showing 7 changed files with 26 additions and 1,004 deletions.
4 changes: 3 additions & 1 deletion .gitignore
@@ -1 +1,3 @@
log/*
log/*
coverage
log
8 changes: 7 additions & 1 deletion .travis.yml
@@ -1,8 +1,14 @@
addons:
code_climate:
repo_token: f40f50c1b06c16f8e703b01facaf313bcd0a7aa56100b9b077648607ca050833
cache:
bundler: true
language: ruby
rvm:
- 2.5
- 2.6
- 2.7
script:
- gem install bundler
- bundle exec rspec spec/
after_success:
- bundle exec codeclimate-test-reporter
9 changes: 9 additions & 0 deletions Gemfile.lock
Expand Up @@ -73,6 +73,7 @@ GEM
crass (1.0.6)
debug_inspector (0.0.3)
diff-lcs (1.3)
docile (1.3.2)
erubi (1.9.0)
globalid (0.4.2)
activesupport (>= 4.2.0)
Expand Down Expand Up @@ -147,6 +148,10 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.9.0)
rspec-support (3.9.2)
simplecov (0.18.5)
docile (~> 1.1)
simplecov-html (~> 0.11)
simplecov-html (0.12.2)
sprockets (4.0.0)
concurrent-ruby (~> 1.0)
rack (> 1, < 3)
Expand Down Expand Up @@ -175,4 +180,8 @@ DEPENDENCIES
rails (>= 5.0.0)
rake (> 12.3.3)
rspec
simplecov
sqlite3

BUNDLED WITH
1.17.2
2 changes: 1 addition & 1 deletion README.md
@@ -1,6 +1,6 @@
# Portunus

[![Maintainability](https://api.codeclimate.com/v1/badges/8370f4feb43195c73150/maintainability)](https://codeclimate.com/github/colinpetruno/portunus/maintainability)[![Test Coverage](https://api.codeclimate.com/v1/badges/8370f4feb43195c73150/test_coverage)](https://codeclimate.com/github/colinpetruno/portunus/test_coverage)
[![Maintainability](https://api.codeclimate.com/v1/badges/8370f4feb43195c73150/maintainability)](https://codeclimate.com/github/colinpetruno/portunus/maintainability) [![Test Coverage](https://api.codeclimate.com/v1/badges/8370f4feb43195c73150/test_coverage)](https://codeclimate.com/github/colinpetruno/portunus/test_coverage) [![Build Status](https://travis-ci.org/colinpetruno/portunus.svg?branch=master)](https://travis-ci.org/colinpetruno/portunus)

Portunus is an opininated encryption engine built for Ruby on Rails
applications. It utilizes a KEK (Key Encryption Key) & DEK (Data
Expand Down
1 change: 1 addition & 0 deletions portunus.gemspec
Expand Up @@ -44,4 +44,5 @@ Gem::Specification.new do |spec|
spec.add_development_dependency "sqlite3"
spec.add_development_dependency "pry-rails"
spec.add_development_dependency "pry-stack_explorer"
spec.add_development_dependency "simplecov"
end
1,001 changes: 0 additions & 1,001 deletions spec/dummy/log/development.log

This file was deleted.

5 changes: 5 additions & 0 deletions spec/spec_helper.rb
@@ -1,3 +1,8 @@
require "simplecov"
SimpleCov.start do
add_filter "spec"
end

require "bundler/setup"
Bundler.setup

Expand Down

0 comments on commit 3383f69

Please sign in to comment.