Travis CI was enabled
This commit is contained in:
parent
54f3daaa68
commit
79ddd36974
|
@ -59,3 +59,4 @@ target/
|
||||||
|
|
||||||
# Virtualenv
|
# Virtualenv
|
||||||
env/
|
env/
|
||||||
|
.python-version
|
||||||
|
|
|
@ -0,0 +1,5 @@
|
||||||
|
language: python
|
||||||
|
python:
|
||||||
|
- "3.6"
|
||||||
|
script:
|
||||||
|
- python tests.py
|
|
@ -1,4 +1,4 @@
|
||||||
from unittest import TestCase, main
|
from unittest import TestCase
|
||||||
|
|
||||||
from sms_counter import SMSCounter
|
from sms_counter import SMSCounter
|
||||||
|
|
||||||
|
@ -54,4 +54,5 @@ class SMSCounterTestCase(TestCase):
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
import unittest
|
||||||
|
unittest.main()
|
Loading…
Reference in New Issue