forked from antek-drzewiecki/wine_bouncer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
124 lines (113 loc) · 5.12 KB
/
.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
sudo: false
language: ruby
before_install:
- gem uninstall -v '>= 2' -i $(rvm gemdir)@global -ax bundler || true
- gem install bundler -v '< 2'
- curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
- chmod +x ./cc-test-reporter
install:
- bundle install --without production --path=${BUNDLE_PATH:-vendor/bundle} # Install ruby gems, excluding production only gems such as unicorn (already present by default in Travis)
cache:
- bundler: true
rvm:
- 2.4.5
- 2.5.3
- 2.6.0
env:
global:
CC_TEST_REPORTER_ID=ab1b6ce5f973da033f80ae2e99fadbb32b2f9c37892703956d8ef954c8e8134e
jobs:
- rails="~> 5.1.6.1" grape=1.0.3 doorkeeper=4.4.3
- rails="~> 5.1.6.1" grape=1.0.3 doorkeeper=5.0.2
- rails="~> 5.1.6.1" grape=1.0.3 doorkeeper=5.1.0
- rails="~> 5.1.6.1" grape=1.0.3 doorkeeper=5.2.3
- rails="~> 5.1.6.1" grape=1.1.0 doorkeeper=4.4.3
- rails="~> 5.1.6.1" grape=1.1.0 doorkeeper=5.0.2
- rails="~> 5.1.6.1" grape=1.1.0 doorkeeper=5.1.0
- rails="~> 5.1.6.1" grape=1.1.0 doorkeeper=5.2.3
- rails="~> 5.1.6.1" grape=1.2.5 doorkeeper=4.4.3
- rails="~> 5.1.6.1" grape=1.2.5 doorkeeper=5.0.2
- rails="~> 5.1.6.1" grape=1.2.5 doorkeeper=5.1.0
- rails="~> 5.1.6.1" grape=1.2.5 doorkeeper=5.2.3
- rails="~> 5.1.6.1" grape=1.3.0 doorkeeper=4.4.3
- rails="~> 5.1.6.1" grape=1.3.0 doorkeeper=5.0.2
- rails="~> 5.1.6.1" grape=1.3.0 doorkeeper=5.1.0
- rails="~> 5.1.6.1" grape=1.3.0 doorkeeper=5.2.3
- rails="~> 5.2.4.1" grape=1.0.3 doorkeeper=4.4.3
- rails="~> 5.2.4.1" grape=1.0.3 doorkeeper=5.0.2
- rails="~> 5.2.4.1" grape=1.0.3 doorkeeper=5.1.0
- rails="~> 5.2.4.1" grape=1.0.3 doorkeeper=5.2.3
- rails="~> 5.2.4.1" grape=1.1.0 doorkeeper=4.4.3
- rails="~> 5.2.4.1" grape=1.1.0 doorkeeper=5.0.2
- rails="~> 5.2.4.1" grape=1.1.0 doorkeeper=5.1.0
- rails="~> 5.2.4.1" grape=1.1.0 doorkeeper=5.2.3
- rails="~> 5.2.4.1" grape=1.2.5 doorkeeper=4.4.3
- rails="~> 5.2.4.1" grape=1.2.5 doorkeeper=5.0.2
- rails="~> 5.2.4.1" grape=1.2.5 doorkeeper=5.1.0
- rails="~> 5.2.4.1" grape=1.2.5 doorkeeper=5.2.3
- rails="~> 5.2.4.1" grape=1.3.0 doorkeeper=4.4.3
- rails="~> 5.2.4.1" grape=1.3.0 doorkeeper=5.0.2
- rails="~> 5.2.4.1" grape=1.3.0 doorkeeper=5.1.0
- rails="~> 5.2.4.1" grape=1.3.0 doorkeeper=5.2.3
- rails="~> 6.0.2" grape=1.0.3 doorkeeper=4.4.3
- rails="~> 6.0.2" grape=1.0.3 doorkeeper=5.0.2
- rails="~> 6.0.2" grape=1.0.3 doorkeeper=5.1.0
- rails="~> 6.0.2" grape=1.0.3 doorkeeper=5.2.3
- rails="~> 6.0.2" grape=1.1.0 doorkeeper=4.4.3
- rails="~> 6.0.2" grape=1.1.0 doorkeeper=5.0.2
- rails="~> 6.0.2" grape=1.1.0 doorkeeper=5.1.0
- rails="~> 6.0.2" grape=1.1.0 doorkeeper=5.2.3
- rails="~> 6.0.2" grape=1.2.5 doorkeeper=4.4.3
- rails="~> 6.0.2" grape=1.2.5 doorkeeper=5.0.2
- rails="~> 6.0.2" grape=1.2.5 doorkeeper=5.1.0
- rails="~> 6.0.2" grape=1.2.5 doorkeeper=5.2.3
- rails="~> 6.0.2" grape=1.3.0 doorkeeper=4.4.3
- rails="~> 6.0.2" grape=1.3.0 doorkeeper=5.0.2
- rails="~> 6.0.2" grape=1.3.0 doorkeeper=5.1.0
- rails="~> 6.0.2" grape=1.3.0 doorkeeper=5.2.3
jobs:
exclude:
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.0.3 doorkeeper=4.4.3
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.0.3 doorkeeper=5.0.2
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.0.3 doorkeeper=5.1.0
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.0.3 doorkeeper=5.2.3
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.1.0 doorkeeper=4.4.3
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.1.0 doorkeeper=5.0.2
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.1.0 doorkeeper=5.1.0
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.1.0 doorkeeper=5.2.3
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.2.5 doorkeeper=4.4.3
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.2.5 doorkeeper=5.0.2
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.2.5 doorkeeper=5.1.0
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.2.5 doorkeeper=5.2.3
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.3.0 doorkeeper=4.4.3
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.3.0 doorkeeper=5.0.2
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.3.0 doorkeeper=5.1.0
- rvm: 2.4.5
env: rails="~> 6.0.2" grape=1.3.0 doorkeeper=5.2.3
script:
#- bundle exec rubocop -DESP # Backend add in future.
- bundle exec rake # Backend specs
# Pipe the coverage data to Code Climate
after_script:
- ./cc-test-reporter format-coverage -t simplecov -o coverage/codeclimate.backend.json coverage/backend/.resultset.json # Format backend coverage
- ./cc-test-reporter sum-coverage coverage/codeclimate.*.json -p 2 # Sum both coverage parts into coverage/codeclimate.json
- if [[ "$TRAVIS_TEST_RESULT" == 0 ]]; then ./cc-test-reporter upload-coverage; fi # Upload coverage/codeclimate.json
notifications:
hipchat:
rooms:
secure: SUWenlDzlDbpryO1QzD+rN4MxIBpAAzwsFqnnkyRQ11thRVdvKuT2TUd+RlYImLXDNkvNjqmpXh7mihtcro9g8unR3nF1UKbuAPIv2kCklsio0jAnjVn7+h1l56hsa90Jy9t/YpKtoLx2QNWLz70n8VrtGJMAt53T6tZdgNUp58=