Skip to content

Commit

Permalink
Merge 78e78ce into b908b0f
Browse files Browse the repository at this point in the history
  • Loading branch information
nijikon committed Mar 19, 2019
2 parents b908b0f + 78e78ce commit 4e4679b
Show file tree
Hide file tree
Showing 4 changed files with 49 additions and 16 deletions.
3 changes: 3 additions & 0 deletions .coditsu.yml
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'] %>
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.3
2.6.2
58 changes: 44 additions & 14 deletions .travis.yml
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
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -68,4 +68,4 @@ DEPENDENCIES
webmock

BUNDLED WITH
1.17.3
2.0.1

0 comments on commit 4e4679b

Please sign in to comment.