Skip to content

Commit 97250d6

Browse files
committed
Add Danger to Travis CI
1 parent 27488dc commit 97250d6

File tree

4 files changed

+39
-2
lines changed

4 files changed

+39
-2
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,9 @@ cache: bundler
44

55
rvm: 2.3.1
66

7-
script: bundle exec rake test
7+
script:
8+
- bundle exec rake test
9+
- bundle exec danger
810

911
env:
1012
global:

Dangerfile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
linear_history.validate!(soft_fail: false)

Gemfile

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,8 @@ source 'https://rubygems.org'
33
gem 'github-pages'
44

55
group :test do
6-
gem 'rake'
6+
gem 'danger'
7+
gem 'danger-linear_history'
78
gem 'html-proofer'
9+
gem 'rake'
810
end

Gemfile.lock

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,39 @@ GEM
88
tzinfo (~> 1.1)
99
addressable (2.5.2)
1010
public_suffix (>= 2.0.2, < 4.0)
11+
claide (1.0.2)
12+
claide-plugins (0.9.2)
13+
cork
14+
nap
15+
open4 (~> 1.3)
1116
coffee-script (2.4.1)
1217
coffee-script-source
1318
execjs
1419
coffee-script-source (1.11.1)
1520
colorator (1.1.0)
21+
colored2 (3.1.2)
1622
colorize (0.8.1)
1723
commonmarker (0.17.9)
1824
ruby-enum (~> 0.5)
1925
concurrent-ruby (1.0.5)
26+
cork (0.3.0)
27+
colored2 (~> 3.1)
28+
danger (5.6.2)
29+
claide (~> 1.0)
30+
claide-plugins (>= 0.9.2)
31+
colored2 (~> 3.1)
32+
cork (~> 0.1)
33+
faraday (~> 0.9)
34+
faraday-http-cache (~> 1.0)
35+
git (~> 1)
36+
kramdown (~> 1.5)
37+
no_proxy_fix
38+
octokit (~> 4.7)
39+
terminal-table (~> 1)
40+
danger-linear_history (0.0.2)
41+
danger-plugin-api (~> 1.0)
42+
danger-plugin-api (1.0.0)
43+
danger (> 2.0)
2044
dnsruby (1.60.2)
2145
em-websocket (0.5.1)
2246
eventmachine (>= 0.12.9)
@@ -27,9 +51,12 @@ GEM
2751
execjs (2.7.0)
2852
faraday (0.15.2)
2953
multipart-post (>= 1.2, < 3)
54+
faraday-http-cache (1.3.1)
55+
faraday (~> 0.8)
3056
ffi (1.9.25)
3157
forwardable-extended (2.6.0)
3258
gemoji (3.0.0)
59+
git (1.4.0)
3360
github-pages (187)
3461
activesupport (= 4.2.10)
3562
github-pages-health-check (= 1.8.1)
@@ -216,10 +243,13 @@ GEM
216243
jekyll-seo-tag (~> 2.1)
217244
minitest (5.11.3)
218245
multipart-post (2.0.0)
246+
nap (1.1.0)
247+
no_proxy_fix (0.1.2)
219248
nokogiri (1.8.3)
220249
mini_portile2 (~> 2.3.0)
221250
octokit (4.9.0)
222251
sawyer (~> 0.8.0, >= 0.5.3)
252+
open4 (1.3.4)
223253
parallel (1.12.1)
224254
pathutil (0.16.1)
225255
forwardable-extended (~> 2.6)
@@ -256,6 +286,8 @@ PLATFORMS
256286
ruby
257287

258288
DEPENDENCIES
289+
danger
290+
danger-linear_history
259291
github-pages
260292
html-proofer
261293
rake

0 commit comments

Comments
 (0)