diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..b029958 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,19 @@ +language: python +python: + - "2.6" + - "2.7" + - "3.6" + - "nightly" # currently points to 3.7-dev + +before_install: + - pip install pep8 + +# command to install dependencies +install: + - pip install -r requirements.txt + +# command to run tests +# TODO: add flake8, pytest +script: + - pep8 *.py + - python -m py_compile *.py \ No newline at end of file diff --git a/requirements.txt b/requirements.txt new file mode 100644 index 0000000..32cefa3 --- /dev/null +++ b/requirements.txt @@ -0,0 +1,2 @@ +psycopg2==2.6.* +pymongo==3.* diff --git a/setup.cfg b/setup.cfg new file mode 100644 index 0000000..4f4e575 --- /dev/null +++ b/setup.cfg @@ -0,0 +1,3 @@ +[pep8] +ignore = W191 +max-line-length = 200 \ No newline at end of file