PyTd icon indicating copy to clipboard operation
PyTd copied to clipboard

Add automatic Travis CI testing and PEP8 validation

Open fxstein opened this issue 9 years ago • 1 comments

Add integration testing through Travis CI to automatically check all incoming commits and pull requests for syntax, PEP8 conformity and basic functionality.

Create Travis account (free for open source projects) Add .travis.yml to project:

language: python
python:
  - "2.7"
  - "3.4"
install:
  - pip install flake8 .
before_script:
  - "flake8 --show-source --builtins=_ Teradata"
script:
  - echo Add some more...

Add Travis CI build icon to README (below global header to show successful CI status)

fxstein avatar Aug 23 '15 23:08 fxstein

I formatted code according to PEP8 and added a Travis CI test to validate conformity. I also added the build status icon to the readme. The integration test suite currently depends on a Teradata Database, an ODBC Driver install, and access to Teradata REST services. I'll have to look into how to enable these integration tests to run in the cloud without access to Teradata Labs network.

escheie avatar Aug 26 '15 04:08 escheie