Skip to content

Commit

Permalink
Rails versions older than 5.0, and Ruby older than 2.2 have reached t…
Browse files Browse the repository at this point in the history
…heir End of Life
  • Loading branch information
kpumuk committed Aug 22, 2017
1 parent 95b1361 commit 9797d7b
Show file tree
Hide file tree
Showing 3 changed files with 17 additions and 32 deletions.
5 changes: 2 additions & 3 deletions .codeclimate.yml
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
---
engines:
duplication:
enabled: true
Expand All @@ -17,5 +16,5 @@ ratings:
- "**.rb"

exclude_paths:
- spec/
- certs/
- spec/**/*
- certs/**/*
43 changes: 15 additions & 28 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,39 +1,26 @@
sudo: false
cache: bundler

rvm:
- 2.0.0
- 2.1.10
- 2.2.5
- 2.3.1
- 2.4.0

env:
- "RAILS_VERSION=3.2.0"
- "RAILS_VERSION=4.0.0"
- "RAILS_VERSION=4.1.0"
- "RAILS_VERSION=4.2.0"
- "RAILS_VERSION=5.0.0"
- "RAILS_VERSION=5.1.0"
global:
- CC_TEST_REPORTER_ID=8792cbc0d1780830ddd3dd7eb1c25f09f386ba8f04449ad830039469406a6ab3
- GIT_COMMITTED_AT=$(if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then git log -1 --pretty=format:%ct; else git log -1 --skip 1 --pretty=format:%ct; fi)
matrix:
- RAILS_VERSION=5.0.5
- RAILS_VERSION=5.1.3

matrix:
exclude:
- rvm: 2.0.0
env: "RAILS_VERSION=5.0.0"
- rvm: 2.1.10
env: "RAILS_VERSION=5.0.0"
- rvm: 2.0.0
env: "RAILS_VERSION=5.1.0"
- rvm: 2.1.10
env: "RAILS_VERSION=5.1.0"
rvm:
- 2.2
- 2.3
- 2.4

notifications:
recipients:
- [email protected]

addons:
code_climate:
repo_token: "8792cbc0d1780830ddd3dd7eb1c25f09f386ba8f04449ad830039469406a6ab3"
before_script:
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter

after_success:
- bundle exec codeclimate-test-reporter
after_script:
- if [ "$TRAVIS_PULL_REQUEST" == "false" ]; then ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT --coverage-input-type clover || true; fi
1 change: 0 additions & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -13,5 +13,4 @@ end

group :test do
gem 'simplecov'
gem 'codeclimate-test-reporter', '~> 1.0.0'
end

0 comments on commit 9797d7b

Please sign in to comment.