-
Notifications
You must be signed in to change notification settings - Fork 17
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #153 from castle/ruby-2.6
switch to ruby-2.6
- Loading branch information
Showing
4 changed files
with
49 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
api_key: <%= ENV['CODITSU_API_KEY'] %> | ||
api_secret: <%= ENV['CODITSU_API_SECRET'] %> | ||
repository_id: <%= ENV['CODITSU_REPOSITORY_ID'] %> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1 @@ | ||
2.5.3 | ||
2.6.2 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,25 +1,55 @@ | ||
services: | ||
- docker | ||
|
||
dist: trusty | ||
sudo: false | ||
language: ruby | ||
cache: bundler | ||
rvm: | ||
- 2.3.8 | ||
- 2.4.5 | ||
- 2.5.3 | ||
- ruby-head | ||
|
||
before_install: | ||
- gem install bundler | ||
- gem update --system | ||
git: | ||
depth: false | ||
|
||
test: &test | ||
stage: Test | ||
language: ruby | ||
before_install: | ||
- gem install bundler | ||
- gem update --system | ||
script: bundle exec rspec | ||
|
||
jobs: | ||
include: | ||
- <<: *test | ||
rvm: 2.6.2 | ||
- <<: *test | ||
rvm: 2.5.5 | ||
- <<: *test | ||
rvm: 2.4.5 | ||
- <<: *test | ||
rvm: 2.3.8 | ||
|
||
matrix: | ||
allow_failures: | ||
- rvm: ruby-head | ||
- stage: coditsu | ||
language: ruby | ||
rvm: 2.6.2 | ||
before_install: | ||
- gem update --system | ||
- gem install bundler | ||
before_script: | ||
- docker create -v /sources --name sources alpine:3.4 /bin/true | ||
- docker cp ./ sources:/sources | ||
script: > | ||
docker run | ||
-e CODITSU_API_KEY | ||
-e CODITSU_API_SECRET | ||
-e CODITSU_REPOSITORY_ID | ||
--volumes-from sources | ||
coditsu/build-runner:latest | ||
stages: | ||
- coditsu | ||
- test | ||
|
||
notifications: | ||
slack: | ||
secure: JVXUf9/+m3mRZU6WnJxgskpSbDY6tHRTQwFeUtq7eYFdXYr/BTCprS2RsANLr8K5eLBgOJeEILAZW/plwpBfa9TnWQxknL/OqY4nyrrtUdc+i7TfBNEwO/I6owvELKSYjgxjClJXkcPS8pg6UTr+wYpbQ+7ToVnPdHf6J3Hy7X4= | ||
on_success: change | ||
on_failure: always | ||
|
||
script: bundle exec rspec |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -68,4 +68,4 @@ DEPENDENCIES | |
webmock | ||
|
||
BUNDLED WITH | ||
1.17.3 | ||
2.0.1 |