Hans-Christoph Steiner
6085556a7b
jenkins: run git pre-commit hook for pep8, pyflakes, etc
...
This provides a central script for running certain checks at commit time,
and in jenkins automated builds.
2014-06-04 22:01:25 -04:00
Hans-Christoph Steiner
9b313e76bb
tests: specify dir for APKs as cmd line arg, and set jenkins to ~
...
This lets people easily set whatever dir they want, while letting jenkins
search through its whole workspace for any APKs that have been built. Also,
only include the latest version of a given packageName+versionCode.
2014-06-04 22:01:25 -04:00
Hans-Christoph Steiner
6f6c074a6b
when running pip install
tests, cache downloads from pypi
...
Since this runs frequently without much change, it makes sense to cache the
downloaded source packages as much as possible. There are probably better
ways to do this, but this is really easy.
https://stackoverflow.com/questions/4806448/how-do-i-install-from-a-local-cache-with-pip
2014-04-22 22:59:27 -04:00
Hans-Christoph Steiner
234736f306
move run-tests to /bin/bash so we can use bashisms
2014-04-10 12:31:23 -04:00
Hans-Christoph Steiner
5ee4f3d72d
enable Jenkins reporting of pylint errors and warnings
...
fatals still can not be enabled because of a bug in pylint when running in
a virtualenv:
https://bitbucket.org/logilab/pylint/issue/73/pylint-is-unable-to-import
running pylint in the virtualenv would not be needed once mwclient is
packaged for Debian and installed that way.
2014-04-03 12:33:22 -04:00
Hans-Christoph Steiner
e9dc2ddd51
jenkins-build: make pylint handle the hashlib hash classes properly
...
hashlib uses some magic to load whatever is built into the local openssl.
pylint gets confused by this, so we need a pylint plugin to trick pylint
into thinking everything is good.
2014-04-03 12:33:22 -04:00
Hans-Christoph Steiner
9ece46d32f
use the virtualenv python so pylint checks against its installed libs
2014-04-02 19:52:47 -04:00
Hans-Christoph Steiner
5b22e11872
make jenkins script use bash so we can use bashisms
2014-04-02 19:49:02 -04:00