Skip to content

Commit

Permalink
Updated test reporter
Browse files Browse the repository at this point in the history
  • Loading branch information
ylecuyer committed Jul 28, 2017
1 parent 7df5c2b commit 50969cb
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 8 deletions.
9 changes: 6 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,15 @@ services:
- redis-server
addons:
postgresql: "9.4"
code_climate:
repo_token: 998c82eddc27bf2bf76c184390d8cf38dd1930cdd95c91a4db21aaad6c1bae86
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
- psql -c 'create database travis_ci_test;' -U postgres
- cp config/database.yml.travis config/database.yml
- ./cc-test-reporter before-build
script:
- bundle exec rails test test/
after_success:
- bundle exec codeclimate-test-reporter
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
after_failure:
- ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ group :development, :test do
end

gem 'simplecov', :require => false, :group => :test
gem 'codeclimate-test-reporter', :require => false, :group => :test
gem 'mocha', require: false, group: :test
gem 'capybara', require: false, group: :test
gem 'timecop', require: false, group: :test
Expand Down
5 changes: 1 addition & 4 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -88,8 +88,6 @@ GEM
climate_control (0.2.0)
cocaine (0.5.8)
climate_control (>= 0.0.3, < 1.0)
codeclimate-test-reporter (1.0.8)
simplecov (<= 0.13)
coffee-rails (4.2.2)
coffee-script (>= 2.2.0)
railties (>= 4.0.0)
Expand Down Expand Up @@ -265,7 +263,7 @@ GEM
simple_form (3.5.0)
actionpack (> 4, < 5.2)
activemodel (> 4, < 5.2)
simplecov (0.13.0)
simplecov (0.14.1)
docile (~> 1.1.0)
json (>= 1.8, < 3)
simplecov-html (~> 0.10.0)
Expand Down Expand Up @@ -328,7 +326,6 @@ DEPENDENCIES
capistrano-rvm
capybara
ckeditor!
codeclimate-test-reporter
coffee-rails
devise
email_validator
Expand Down

0 comments on commit 50969cb

Please sign in to comment.