Skip to content

Commit

Permalink
adding minimal support for TravisCI
Browse files Browse the repository at this point in the history
  • Loading branch information
Philip Mateescu committed Feb 20, 2017
1 parent 73f5306 commit 928ea4e
Show file tree
Hide file tree
Showing 3 changed files with 24 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .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
2 changes: 2 additions & 0 deletions requirements.txt
@@ -0,0 +1,2 @@
psycopg2==2.6.*
pymongo==3.*
3 changes: 3 additions & 0 deletions setup.cfg
@@ -0,0 +1,3 @@
[pep8]
ignore = W191
max-line-length = 200

0 comments on commit 928ea4e

Please sign in to comment.