broadinstitute / cromwell-tools

A collection of Python clients and accessory scripts for interacting with the Cromwell
https://cromwell-tools.readthedocs.io
BSD 3-Clause "New" or "Revised" License
22 stars 9 forks source link

Add travis yaml file to run unit tests #6

Closed dshiga closed 6 years ago

dshiga commented 6 years ago

Added .travis.yml to run unit tests in both Python 2 and 3.

Fixed Python 3 compatibility problems: -Use six.BytesIO instead of io.StringIO when making zip file (zipfile won't accept io.StringIO in 3, but will accept six.BytesIO in both 2 and 3) -Fix assertion in test to work in both 2 and 3