forked from karafka/example-apps
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (43 loc) · 872 Bytes
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
services:
- docker
dist: trusty
sudo: false
cache: bundler
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.1
- <<: *test
rvm: 2.5.3
- <<: *test
rvm: 2.4.5
- <<: *test
rvm: 2.3.8
- stage: coditsu
language: ruby
rvm: 2.6.1
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