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
65
.travis.yml
65
.travis.yml
|
@ -1,51 +1,48 @@
|
||||||
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:
|
||||||
- rvm: 1.8.7
|
- rvm: 1.8.7
|
||||||
gemfile: gemfiles/Gemfile-ruby-1.8.7
|
gemfile: gemfiles/Gemfile-ruby-1.8.7
|
||||||
- rvm: 1.9.3
|
- rvm: 1.9.3
|
||||||
gemfile: Gemfile
|
gemfile: Gemfile
|
||||||
- rvm: 2.0.0
|
- rvm: 2.0.0
|
||||||
gemfile: Gemfile
|
gemfile: Gemfile
|
||||||
- rvm: 2.1.0
|
- rvm: 2.1.0
|
||||||
gemfile: Gemfile
|
gemfile: Gemfile
|
||||||
- rvm: 2.1.1
|
- rvm: 2.1.1
|
||||||
gemfile: Gemfile
|
gemfile: Gemfile
|
||||||
- rvm: 2.1.1
|
- rvm: 2.1.1
|
||||||
gemfile: gemfiles/Gemfile-edge
|
gemfile: gemfiles/Gemfile-edge
|
||||||
- rvm: 2.2.0
|
- rvm: 2.2.0
|
||||||
gemfile: Gemfile
|
gemfile: Gemfile
|
||||||
- rvm: 2.2.0
|
- rvm: 2.2.0
|
||||||
gemfile: gemfiles/Gemfile-edge
|
gemfile: gemfiles/Gemfile-edge
|
||||||
- rvm: jruby-18mode
|
- rvm: jruby-18mode
|
||||||
gemfile: gemfiles/Gemfile-ruby-1.8.7
|
gemfile: gemfiles/Gemfile-ruby-1.8.7
|
||||||
- rvm: jruby-19mode
|
- rvm: jruby-19mode
|
||||||
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}"
|
||||||
- "[#%{build_number}] %{compare_url}"
|
- "[#%{build_number}] %{compare_url}"
|
||||||
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