Skip to content

Commit

Permalink
add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
git-bruton committed Oct 13, 2015
1 parent 38f91dc commit 3d126de
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 4 deletions.
10 changes: 10 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
language: python
python:
- "2.7"
- "3.2"
- "3.3"
- "3.4"
install:
- pip install -r requirements.txt
- pip install -r requirements-dev.txt
script: make test
5 changes: 5 additions & 0 deletions requirements-dev.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
pytest
# python3.2 does not support coverage
# See https://github.com/travis-ci/travis-ci/issues/4866
coverage<4
pytest-cov
2 changes: 2 additions & 0 deletions requirements.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
python-dateutil
requests
6 changes: 2 additions & 4 deletions tox.ini
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,5 @@ commands =
py.test []

deps=
python-dateutil
pytest
pytest-cov
requests
-rrequirements.txt
-rrequirements-dev.txt

0 comments on commit 3d126de

Please sign in to comment.