Skip to content

Commit

Permalink
work on travis build with test coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
kookster committed May 8, 2015
1 parent 616f754 commit 79efc9e
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 6 deletions.
8 changes: 8 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,3 +1,11 @@
language: ruby
rvm:
- 2.1.2
- 2.2.1
env:
global:
- TRAVIS=true
- CODECLIMATE_REPO_TOKEN=37c6f8d75bb1f20d34e79cab97e3ed0de6c9be552b15fbbbc4daf4f383c55ae4
addons:
code_climate:
repo_token: 37c6f8d75bb1f20d34e79cab97e3ed0de6c9be552b15fbbbc4daf4f383c55ae4
11 changes: 5 additions & 6 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,12 @@
require 'codeclimate-test-reporter'
require 'coveralls'

SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
SimpleCov.formatter,
Coveralls::SimpleCov::Formatter,
CodeClimate::TestReporter::Formatter
]
SimpleCov.start
Coveralls.wear!

if ENV['TRAVIS']
CodeClimate::TestReporter.start
Coveralls.wear!
end

ENV['AWS_ACCESS_KEY_ID'] = 'ANDTHISISFAKEOKAY'
ENV['AWS_SECRET_ACCESS_KEY'] = 'andthisisalsoveryfakesodontbefooledandtrytouseit'
Expand Down

0 comments on commit 79efc9e

Please sign in to comment.