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
feeec8f0
Commit
feeec8f0
authored
Nov 15, 2017
by
Stuart Young
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
stop writing linting violations to console
parent
7622898d
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 @
feeec8f0
...
...
@@ -84,18 +84,18 @@ case "$TEST_SUITE" in
echo
"Finding pep8 violations and storing report..."
paver run_pep8
>
pep8.log
||
{
cat
pep8.log
;
EXIT
=
1
;
}
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
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..."
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)."
paver run_complexity
||
echo
"Unable to calculate code complexity. Ignoring error."
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."
paver run_xsscommitlint
>
xsscommitlint.log
||
{
cat
xsscommitlint.log
;
EXIT
=
1
;
}
# 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