Created
December 26, 2016 19:13
-
-
Save uuklanger/65925e0271e9e8dfd1de3220a4cbb2db to your computer and use it in GitHub Desktop.
As a *Build* step add the following "Execute shell" command.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cd dt_modules/sample | |
pwd | |
if [ ! -d "output_data" ]; then | |
mkdir output_data | |
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
nosetests3 --with-xunit --verbose --with-coverage --cover-xml test/test*.py ||: |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
rm -f pylint.log | |
for f in `find -H . -name '*.py'`; do | |
pylint3 --output-format=parseable --rcfile=/root/.pylintrc --reports=y $f >> pylint.log | |
done || : |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sloccount --duplicates --wide --details . > sloccount.sc || : |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment