Skip to content

Instantly share code, notes, and snippets.

@uuklanger
Created December 26, 2016 19:13
Show Gist options
  • Save uuklanger/65925e0271e9e8dfd1de3220a4cbb2db to your computer and use it in GitHub Desktop.
Save uuklanger/65925e0271e9e8dfd1de3220a4cbb2db to your computer and use it in GitHub Desktop.
As a *Build* step add the following "Execute shell" command.
cd dt_modules/sample
pwd
if [ ! -d "output_data" ]; then
mkdir output_data
fi
nosetests3 --with-xunit --verbose --with-coverage --cover-xml test/test*.py ||:
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 || :
sloccount --duplicates --wide --details . > sloccount.sc || :
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment