Skip to content

Commit

Permalink
Merge pull request #50 from castle/update-ruby-versions
Browse files Browse the repository at this point in the history
bump ruby versions and add coditsu v2
  • Loading branch information
nijikon authored Jan 19, 2019
2 parents 4abd28d + 5d7d0df commit fd0def5
Show file tree
Hide file tree
Showing 3 changed files with 46 additions and 10 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'] %>
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,5 @@
.rvmrc

# Example files
/example/.bundle
/example/.bundle
vendor
50 changes: 41 additions & 9 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,12 +1,44 @@
services:
- docker

dist: trusty
sudo: false
language: ruby
cache: bundler
rvm:
- 2.3.7
- 2.4.4
- 2.5.1
- ruby-head

before_install:
- gem install bundler

git:
depth: false

test: &test
stage: test
language: ruby
before_install:
- gem install bundler
- gem update --system

jobs:
include:
- <<: *test
rvm: 2.6.0
- <<: *test
rvm: 2.5.3
- <<: *test
rvm: 2.4.5
- <<: *test
rvm: 2.3.8

- stage: coditsu
language: script
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

0 comments on commit fd0def5

Please sign in to comment.