A platform for community discussion. Free, open, simple.
DEV: Only install danger on Travis. (#7452)
Guo Xiang Tan09b3d0c2a0ad
diff --git a/.travis.yml b/.travis.ymlindex 39e59f6cd2d..2196ae2af49 100644--- a/.travis.yml+++ b/.travis.yml@@ -75,7 +75,8 @@ script:bash -c "if [ '$RUN_LINT' == '1' ]; thenbundle exec rubocop --parallel && \- bundle exec danger && \+ gem install danger -v 5.13.0 && \+ danger && \yarn eslint --ext .es6 app/assets/javascripts && \yarn eslint --ext .es6 test/javascripts && \yarn eslint --ext .es6 plugins/**/assets/javascripts && \diff --git a/Gemfile b/Gemfileindex 10da7c56d6b..cba4a7e3200 100644--- a/Gemfile+++ b/Gemfile@@ -122,7 +122,6 @@ group :test dogem 'webmock', require: falsegem 'fakeweb', '~> 1.3.0', require: falsegem 'minitest', require: false- gem 'danger'gem 'simplecov', require: falsegem "test-prof"enddiff --git a/Gemfile.lock b/Gemfile.lockindex 8eaa0efa2ec..0a25385a842 100644--- a/Gemfile.lock+++ b/Gemfile.lock@@ -80,34 +80,14 @@ GEMbyebug (11.0.1)certified (1.0.0)chunky_png (1.3.11)- claide (1.0.2)- claide-plugins (0.9.2)- cork- nap- open4 (~> 1.3)coderay (1.1.2)colored2 (3.1.2)concurrent-ruby (1.1.5)connection_pool (2.2.2)- cork (0.3.0)- colored2 (~> 3.1)cppjieba_rb (0.3.3)crack (0.4.3)safe_yaml (~> 1.0.0)crass (1.0.4)- danger (6.0.6)- claide (~> 1.0)- claide-plugins (>= 0.9.2)- colored2 (~> 3.1)- cork (~> 0.1)- faraday (~> 0.9)- faraday-http-cache (~> 1.0)- git (~> 1.5)- kramdown (~> 2.0)- kramdown-parser-gfm (~> 1.0)- no_proxy_fix- octokit (~> 4.7)- terminal-table (~> 1)debug_inspector (0.0.3)diff-lcs (1.3)discourse-ember-source (3.8.0.1)@@ -140,8 +120,6 @@ GEMfakeweb (1.3.0)faraday (0.15.4)multipart-post (>= 1.2, < 3)- faraday-http-cache (1.3.1)- faraday (~> 0.8)fast_blank (1.0.0)fast_xor (1.1.3)rake@@ -152,7 +130,6 @@ GEMflamegraph (0.9.5)fspath (3.1.0)gc_tracer (1.5.1)- git (1.5.0)globalid (0.4.2)activesupport (>= 4.2.0)guess_html_encoding (0.0.11)@@ -176,9 +153,6 @@ GEMjson (2.2.0)jwt (2.1.0)kgio (2.11.2)- kramdown (2.1.0)- kramdown-parser-gfm (1.0.1)- kramdown (~> 2.0)libv8 (7.3.492.27.1)listen (3.1.5)rb-fsevent (~> 0.9, >= 0.9.4)@@ -224,8 +198,6 @@ GEMmulti_xml (0.6.0)multipart-post (2.0.0)mustache (1.1.0)- nap (1.1.0)- no_proxy_fix (0.1.2)nokogiri (1.10.3)mini_portile2 (~> 2.4.0)nokogumbo (2.0.1)@@ -237,8 +209,6 @@ GEMmulti_json (~> 1.3)multi_xml (~> 0.5)rack (>= 1.2, < 3)- octokit (4.14.0)- sawyer (~> 0.8.0, >= 0.5.3)oj (3.7.12)omniauth (1.9.0)hashie (>= 3.4.6, < 3.7.0)@@ -274,7 +244,6 @@ GEMmustachenokogiri (~> 1.7)sanitize- open4 (1.3.4)openid-redis-store (0.0.2)redisruby-openid@@ -397,9 +366,6 @@ GEMsprockets (> 3.0)sprockets-railstilt- sawyer (0.8.1)- addressable (>= 2.3.5, < 2.6)- faraday (~> 0.8, < 1.0)seed-fu (2.3.9)activerecord (>= 3.1)activesupport (>= 3.1)@@ -424,8 +390,6 @@ GEMsprockets (>= 3.0.0)sshkey (2.0.0)stackprof (0.2.12)- terminal-table (1.8.0)- unicode-display_width (~> 1.1, >= 1.1.1)test-prof (0.8.0)thor (0.20.3)thread_safe (0.3.6)@@ -473,7 +437,6 @@ DEPENDENCIEScertifiedcolored2cppjieba_rb- dangerdiscourse-ember-source (~> 3.8.0)discourse_image_optimemail_reply_trimmer (~> 0.1)