add jenkins script

This commit is contained in:
Benjamin Dauvergne 2013-06-24 17:06:07 +02:00
parent d69bca985d
commit d34ed368b7
1 changed files with 10 additions and 0 deletions

10
jenkins.sh Normal file
View File

@ -0,0 +1,10 @@
#!/bin/sh
pip install --upgrade pip
pip install --upgrade pylint
pip install --upgrade -v -r requirements.txt
export SECRET_KEY='coin'
./authentic2-ctl syncdb --noinput --all
./authentic2-ctl migrate --fake
./authentic2-ctl validate
(pylint -f parseable --rcfile /var/lib/jenkins/pylint.django.rc authentic2/ | tee pylint.out) || /bin/true