pyparallel icon indicating copy to clipboard operation
pyparallel copied to clipboard

Add continuous integration / automated builds (e.g. Travis CI)

Open hjacobs opened this issue 9 years ago • 2 comments

PyParallel should have automated CI builds (and unit tests including flake8 checking) to ensure reasonable code quality.

hjacobs avatar Jan 05 '16 09:01 hjacobs

Configured Travis CI, though there are not really any useful tests yet. As there is no hardware available on the CI servers, the question is what useful tests can be added...

Do you have a config for flake8 on Travis CI at hand?

zsquareplusc avatar Jan 05 '16 23:01 zsquareplusc

@zsquareplusc I'm usually using the same config for tests and flake8: https://github.com/zalando-stups/senza/blob/master/.travis.yml

  • run unit tests with py.test
  • run flake8 via python setup.py flake8
  • configure flake8 via tox.ini (if necessary, e.g. to increase max line length to 120 chars, https://github.com/zalando/connexion/blob/master/tox.ini)

hjacobs avatar Jan 06 '16 11:01 hjacobs