Skip to content

Commit

Permalink
add first test
Browse files Browse the repository at this point in the history
  • Loading branch information
Michael Ding committed Jul 17, 2017
1 parent 0900a56 commit b0c0b94
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 3 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
@@ -1,9 +1,9 @@
language: python
python:
- "3.4"
- "3.5"
- "3.6"
install:
- pip install pytest-cov pytest-flake8
- pip install -r requirements.txt
script: py.test tests
script:
- flake8 . --exclude=tests
- pytest tests
3 changes: 3 additions & 0 deletions requirements.txt
@@ -0,0 +1,3 @@
pytest
pytest-cov
flake8
Empty file removed tests/.keep
Empty file.
3 changes: 3 additions & 0 deletions tests/test_pkg.py
@@ -0,0 +1,3 @@
def test_name():
import sea
assert sea.__name__ == 'sea'

0 comments on commit b0c0b94

Please sign in to comment.