Skip to content

Instantly share code, notes, and snippets.

@vaibhav-jain
Forked from mariocesar/jenkins.sh
Last active August 29, 2015 14:07
Show Gist options
  • Save vaibhav-jain/f3e9105ec1eba1e52c0c to your computer and use it in GitHub Desktop.
Save vaibhav-jain/f3e9105ec1eba1e52c0c to your computer and use it in GitHub Desktop.
export PIP_DOWNLOAD_CACHE=/var/lib/jenkins/pip-cache
export AQUIPAGO_ENVIRONMENT=testing
make
env/bin/pip install -r requirements/base.txt --download-cache=/var/lib/jenkins/pip-cache --use-mirrors --timeout 1
env/bin/pip install -r requirements/project.txt --download-cache=/var/lib/jenkins/pip-cache --use-mirrors --timeout 1
env/bin/python runtests.py || :
env/bin/pylint --rcfile=.pylintrc aquipago --ignore=test > reports/pylint.txt || :
env/bin/pyflakes aquipago > reports/pyflakes.txt || :
env/bin/pep8 --config=.pep8 aquipago > reports/pep8.txt || :
env/bin/clonedigger --distance-threshold=3 --cpd-output --output=reports/similarity.xml --ignore-dir=test aquipago ||:
sloccount --duplicates --wide --details aquipago | fgrep -v -e "/migrations/" -e "config.rb" > reports/sloccount.sc
env/bin/python manage.py graph_models --group-models --exclude-columns='created,modified' \
--exclude-models='AbstractBaseUser,TimestampModel,PermissionsMixin' \
--output=reports/models.png \
accounts clearing commerce
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment