Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
E
edx-platform
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
edx
edx-platform
Commits
d6970826
Unverified
Commit
d6970826
authored
Nov 16, 2017
by
Stu Young
Committed by
GitHub
Nov 16, 2017
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #16581 from edx/estute/stop-writing-quality-violations-to-console
stop writing linting violations to console
parents
4223bf70
feeec8f0
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
scripts/generic-ci-tests.sh
+4
-4
No files found.
scripts/generic-ci-tests.sh
View file @
d6970826
...
@@ -84,18 +84,18 @@ case "$TEST_SUITE" in
...
@@ -84,18 +84,18 @@ case "$TEST_SUITE" in
echo
"Finding pep8 violations and storing report..."
echo
"Finding pep8 violations and storing report..."
paver run_pep8
>
pep8.log
||
{
cat
pep8.log
;
EXIT
=
1
;
}
paver run_pep8
>
pep8.log
||
{
cat
pep8.log
;
EXIT
=
1
;
}
echo
"Finding pylint violations and storing in report..."
echo
"Finding pylint violations and storing in report..."
paver run_pylint
-l
$PYLINT_THRESHOLD
>
pylint.log
||
{
cat
pylint.log
;
EXIT
=
1
;
}
paver run_pylint
-l
$PYLINT_THRESHOLD
>
pylint.log
||
{
echo
'Too many pylint violations. You can view them in pylint.log'
;
EXIT
=
1
;
}
mkdir
-p
reports
mkdir
-p
reports
echo
"Finding ESLint violations and storing report..."
echo
"Finding ESLint violations and storing report..."
paver run_eslint
-l
$ESLINT_THRESHOLD
>
eslint.log
||
{
cat
eslint.log
;
EXIT
=
1
;
}
paver run_eslint
-l
$ESLINT_THRESHOLD
>
eslint.log
||
{
echo
'Too many eslint violations. You can view them in eslint.log'
;
EXIT
=
1
;
}
echo
"Finding Stylelint violations and storing report..."
echo
"Finding Stylelint violations and storing report..."
paver run_stylelint
-l
$STYLELINT_THRESHOLD
>
stylelint.log
||
{
cat
stylelint.log
;
EXIT
=
1
;
}
paver run_stylelint
-l
$STYLELINT_THRESHOLD
>
stylelint.log
||
{
echo
'Too many stylelint violations. You can view them in stylelint.log'
;
EXIT
=
1
;
}
echo
"Running code complexity report (python)."
echo
"Running code complexity report (python)."
paver run_complexity
||
echo
"Unable to calculate code complexity. Ignoring error."
paver run_complexity
||
echo
"Unable to calculate code complexity. Ignoring error."
echo
"Running xss linter report."
echo
"Running xss linter report."
paver run_xsslint
-t
$XSSLINT_THRESHOLDS
>
xsslint.log
||
{
cat
xsslint.log
;
EXIT
=
1
;
}
paver run_xsslint
-t
$XSSLINT_THRESHOLDS
>
xsslint.log
||
{
echo
'Too many xsslint violations. You can view them in xsslint.log'
;
EXIT
=
1
;
}
echo
"Running xss commit linter report."
echo
"Running xss commit linter report."
paver run_xsscommitlint
>
xsscommitlint.log
||
{
cat
xsscommitlint.log
;
EXIT
=
1
;
}
paver run_xsscommitlint
>
xsscommitlint.log
||
{
cat
xsscommitlint.log
;
EXIT
=
1
;
}
# Run quality task. Pass in the 'fail-under' percentage to diff-quality
# Run quality task. Pass in the 'fail-under' percentage to diff-quality
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment