Skip to content

Commit

Permalink
Add .travis.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
toaco committed Mar 20, 2018
1 parent e9be4d2 commit 61273d7
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 1 deletion.
28 changes: 28 additions & 0 deletions .travis.yml
@@ -0,0 +1,28 @@
language: python
cache:
directories:
- "$HOME/.cache/pip"
- "$HOME/.pyenv"
matrix:
include:
- os: linux
dist: trusty
sudo: false
python: '2.7'
- os: linux
dist: trusty
sudo: false
python: '3.5'
- os: linux
dist: trusty
sudo: false
python: '3.6'
fast_finish: true
install:
- pip install -r requirements.txt
- pip install coveralls
script: py.test
after_success:
- coveralls
notifications:
email: never
3 changes: 3 additions & 0 deletions pytest.ini
@@ -0,0 +1,3 @@
[pytest]
testpaths = tests/functional_tests tests/unit_tests
addopts = -v --cov carry --cov-report term-missing
3 changes: 2 additions & 1 deletion requirements.txt
Expand Up @@ -4,4 +4,5 @@ sqlalchemy
six

# for test
pytest
pytest
pytest-cov

0 comments on commit 61273d7

Please sign in to comment.