Skip to content

Commit

Permalink
coditsu v2 (#450)
Browse files Browse the repository at this point in the history
coditsu v2
  • Loading branch information
mensfeld authored and nijikon committed Jan 17, 2019
1 parent fce0180 commit 56f8876
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 11 deletions.
3 changes: 3 additions & 0 deletions .coditsu.yml
@@ -0,0 +1,3 @@
api_key: <%= ENV['CODITSU_API_KEY'] %>
api_secret: <%= ENV['CODITSU_API_SECRET'] %>
repository_id: <%= ENV['CODITSU_REPOSITORY_ID'] %>
50 changes: 39 additions & 11 deletions .travis.yml
@@ -1,17 +1,45 @@
services:
- docker

dist: trusty
sudo: false
language: ruby
cache: bundler

rvm:
- 2.3.8
- 2.4.5
- 2.5.3
- 2.6.0
- ruby-head
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.0
- <<: *test
rvm: 2.5.3
- <<: *test
rvm: 2.4.5
- <<: *test
rvm: 2.3.8

before_install:
- gem install bundler
- gem update --system
- 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
script: bundle exec rspec
stages:
- coditsu
- test

0 comments on commit 56f8876

Please sign in to comment.