Teradata / PyTd

A Python Module to make it easy to script powerful interactions with Teradata Database in a DevOps friendly way.
MIT License
108 stars 43 forks source link

Add automatic Travis CI testing and PEP8 validation #11

Open fxstein opened 9 years ago

fxstein commented 9 years ago

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)

escheie commented 9 years ago

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.