mirror of
https://github.com/fog/fog-aws.git
synced 2022-11-09 13:50:52 -05:00
add codeclimate
This commit is contained in:
parent
12b8822fe8
commit
0bc53fc815
3 changed files with 36 additions and 37 deletions
13
.travis.yml
13
.travis.yml
|
@ -1,13 +1,9 @@
|
||||||
language: ruby
|
language: ruby
|
||||||
|
|
||||||
sudo: false
|
sudo: false
|
||||||
|
|
||||||
script: bundle exec rake test
|
script: bundle exec rake test
|
||||||
|
|
||||||
branches:
|
branches:
|
||||||
except:
|
except:
|
||||||
- /\Av\d+\Z/
|
- "/\\Av\\d+\\Z/"
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
fast_finish: true
|
fast_finish: true
|
||||||
include:
|
include:
|
||||||
|
@ -33,15 +29,13 @@ matrix:
|
||||||
gemfile: Gemfile
|
gemfile: Gemfile
|
||||||
- rvm: jruby-head
|
- rvm: jruby-head
|
||||||
gemfile: Gemfile
|
gemfile: Gemfile
|
||||||
|
|
||||||
allow_failures:
|
allow_failures:
|
||||||
- rvm: jruby-head
|
- rvm: jruby-head
|
||||||
|
|
||||||
notifications:
|
notifications:
|
||||||
email: false
|
email: false
|
||||||
irc:
|
irc:
|
||||||
channels:
|
channels:
|
||||||
- "irc.freenode.org#ruby-fog"
|
- irc.freenode.org#ruby-fog
|
||||||
template:
|
template:
|
||||||
- "[#%{build_number}] %{message} %{build_url}"
|
- "[#%{build_number}] %{message} %{build_url}"
|
||||||
- "[#%{build_number}] %{commit} on %{branch} by %{author}"
|
- "[#%{build_number}] %{commit} on %{branch} by %{author}"
|
||||||
|
@ -49,3 +43,6 @@ notifications:
|
||||||
on_success: always
|
on_success: always
|
||||||
on_failure: always
|
on_failure: always
|
||||||
use_notice: false
|
use_notice: false
|
||||||
|
env:
|
||||||
|
global:
|
||||||
|
secure: LlDKdKSRo3sEjQ55XesbOXhKZ3RrOtqoD1ZL8Wx39K3iVzeEV3Kc8HjDfEvo7R4pOc3BMTNJcputklVEPN0FkWGN7Py+OEtbHj3IZl0MX+KEWNk0gU+4+sgPrL1eXUQyMUSkCrBsKg08rPel4KMYUOXbtnLyUU9PDbBwm4LJYOc=
|
||||||
|
|
5
Gemfile
5
Gemfile
|
@ -3,6 +3,5 @@ source 'https://rubygems.org'
|
||||||
# Specify your gem's dependencies in fog-aws.gemspec
|
# Specify your gem's dependencies in fog-aws.gemspec
|
||||||
gemspec
|
gemspec
|
||||||
|
|
||||||
group :test do
|
gem 'pry-nav', group: :test
|
||||||
gem 'pry-nav'
|
gem "codeclimate-test-reporter", group: :test, require: nil
|
||||||
end
|
|
||||||
|
|
|
@ -1,3 +1,6 @@
|
||||||
|
require "codeclimate-test-reporter"
|
||||||
|
CodeClimate::TestReporter.start
|
||||||
|
|
||||||
require File.expand_path('../../lib/fog/aws', __FILE__)
|
require File.expand_path('../../lib/fog/aws', __FILE__)
|
||||||
|
|
||||||
Bundler.require(:test)
|
Bundler.require(:test)
|
||||||
|
|
Loading…
Reference in a new issue