mirror of
https://github.com/discourse/discourse.git
synced 2025-02-21 03:19:10 +00:00
Revert "DEV: Lint official plugins in CI (#6519)"
This reverts commit 093cab2db04675dc9f9ccc52a3ceee5f85156f45.
This commit is contained in:
parent
093cab2db0
commit
bafe3cd99a
@ -76,7 +76,6 @@ script:
|
||||
if [ '$RUN_LINT' == '1' ]; then
|
||||
bundle exec rubocop --parallel && \
|
||||
bundle exec danger && \
|
||||
yarn prettier --list-different "plugins/**/*.scss" "plugins/**/*.es6" \
|
||||
yarn eslint --ext .es6 app/assets/javascripts && \
|
||||
yarn eslint --ext .es6 test/javascripts && \
|
||||
yarn eslint --ext .es6 plugins/**/assets/javascripts && \
|
||||
|
@ -38,11 +38,6 @@ desc 'Run all tests (JS and code in a standalone environment)'
|
||||
task 'docker:test' do
|
||||
begin
|
||||
@good = true
|
||||
|
||||
if ENV["INSTALL_OFFICIAL_PLUGINS"]
|
||||
@good &&= run_or_fail("bundle exec rake plugin:install_all_official")
|
||||
end
|
||||
|
||||
unless ENV['SKIP_LINT']
|
||||
puts "travis_fold:start:lint" if ENV["TRAVIS"]
|
||||
puts "Running linters/prettyfiers"
|
||||
@ -96,6 +91,10 @@ task 'docker:test' do
|
||||
|
||||
@good &&= run_or_fail("bundle exec rake db:create")
|
||||
|
||||
if ENV["INSTALL_OFFICIAL_PLUGINS"]
|
||||
@good &&= run_or_fail("bundle exec rake plugin:install_all_official")
|
||||
end
|
||||
|
||||
if ENV["SKIP_PLUGINS"]
|
||||
@good &&= run_or_fail("bundle exec rake db:migrate")
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user