File tree Expand file tree Collapse file tree 3 files changed +45
-2
lines changed Expand file tree Collapse file tree 3 files changed +45
-2
lines changed Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ source 'https://rubygems.org'
4
4
group :development do
5
5
gem 'emeril' , '~> 0.8.0'
6
6
gem 'rake' , '~> 11.1.2'
7
+ gem 'travis' , '~> 1.8.2'
7
8
end # group
8
9
9
10
group :test do
Original file line number Diff line number Diff line change 4
4
addressable (2.4.0 )
5
5
artifactory (2.3.2 )
6
6
ast (2.2.0 )
7
+ backports (3.6.8 )
7
8
berkshelf (4.3.2 )
8
9
addressable (~> 2.3 , >= 2.3.4 )
9
10
berkshelf-api-client (~> 2.0 , >= 2.0.2 )
86
87
emeril (0.8.0 )
87
88
chef (> 0.10.10 )
88
89
erubis (2.7.0 )
90
+ ethon (0.9.0 )
91
+ ffi (>= 1.3.0 )
89
92
faraday (0.9.2 )
90
93
multipart-post (>= 1.2 , < 3 )
94
+ faraday_middleware (0.10.0 )
95
+ faraday (>= 0.7.4 , < 0.10 )
91
96
fauxhai (3.4.0 )
92
97
net-ssh
93
98
ffi (1.9.10 )
102
107
treetop (~> 1.4 )
103
108
yajl-ruby (~> 1.1 )
104
109
fuzzyurl (0.8.0 )
110
+ gh (0.14.0 )
111
+ addressable
112
+ backports
113
+ faraday (~> 0.8 )
114
+ multi_json (~> 1.0 )
115
+ net-http-persistent (>= 2.7 )
116
+ net-http-pipeline
105
117
gherkin (3.2.0 )
106
118
hashie (3.4.4 )
107
119
highline (1.7.8 )
111
123
json (1.8.3 )
112
124
kitchen-docker (2.4.0 )
113
125
test-kitchen (>= 1.0.0 )
126
+ launchy (2.4.3 )
127
+ addressable (~> 2.3 )
114
128
libyajl2 (1.2.0 )
115
129
mini_portile2 (2.0.0 )
116
130
minitar (0.5.4 )
131
145
molinillo (0.4.5 )
132
146
multi_json (1.11.3 )
133
147
multipart-post (2.0.0 )
148
+ net-http-persistent (2.9.4 )
149
+ net-http-pipeline (1.0.1 )
134
150
net-scp (1.2.1 )
135
151
net-ssh (>= 2.6.5 )
136
152
net-sftp (2.1.2 )
165
181
polyglot (0.3.5 )
166
182
powerpack (0.1.1 )
167
183
proxifier (1.0.3 )
184
+ pusher-client (0.6.2 )
185
+ json
186
+ websocket (~> 1.0 )
168
187
rack (1.6.4 )
169
188
rainbow (2.1.0 )
170
189
rake (11.1.2 )
@@ -245,13 +264,25 @@ GEM
245
264
thor (0.19.1 )
246
265
timers (4.0.4 )
247
266
hitimes
267
+ travis (1.8.2 )
268
+ backports
269
+ faraday (~> 0.9 )
270
+ faraday_middleware (~> 0.9 , >= 0.9.1 )
271
+ gh (~> 0.13 )
272
+ highline (~> 1.6 )
273
+ launchy (~> 2.1 )
274
+ pusher-client (~> 0.4 )
275
+ typhoeus (~> 0.6 , >= 0.6.8 )
248
276
treetop (1.6.5 )
249
277
polyglot (~> 0.3 )
278
+ typhoeus (0.8.0 )
279
+ ethon (>= 0.8.0 )
250
280
unicode-display_width (1.0.3 )
251
281
uuidtools (2.1.5 )
252
282
varia_model (0.4.1 )
253
283
buff-extensions (~> 1.0 )
254
284
hashie (>= 2.0.2 , < 4.0.0 )
285
+ websocket (1.2.3 )
255
286
wmi-lite (1.0.0 )
256
287
yajl-ruby (1.2.1 )
257
288
@@ -267,6 +298,7 @@ DEPENDENCIES
267
298
rake (~> 11.1.2 )
268
299
rubocop (~> 0.39.0 )
269
300
test-kitchen (~> 1.8.0 )
301
+ travis (~> 1.8.2 )
270
302
271
303
BUNDLED WITH
272
304
1.12.1
Original file line number Diff line number Diff line change 26
26
# - $ git submodule add git://github.com/etsy/foodcritic-rules.git spec/foodcritic/etsy
27
27
28
28
#----------------------------------------------------------------------- style
29
- # Style tests. Rubocop and Foodcritic
29
+ # Style tests. Rubocop, Foodcritic, and Travis
30
30
namespace :style do
31
31
begin
32
32
require 'rubocop/rake_task'
60
60
sh 'git submodule update --init --recursive'
61
61
end # task
62
62
end # namespace
63
+
64
+ begin
65
+ require 'travis'
66
+ desc 'Run lint checks on .travis.yml'
67
+ task :travis do
68
+ sh 'bundle exec travis lint -x'
69
+ end # task
70
+ rescue LoadError , NameError
71
+ STDOUT . puts '[WARN] Travis gem not loaded' . yellow
72
+ end
63
73
end # namespace
64
74
65
75
desc 'Run all style checks'
66
- task :style => [ 'style:chef' , 'style:ruby' ]
76
+ task :style => [ 'style:chef' , 'style:ruby' , 'style:travis' ]
You can’t perform that action at this time.
0 commit comments