Travis CI was enabled

This commit is contained in:
Alexander Uralov 2018-12-26 08:11:53 +03:00
parent 54f3daaa68
commit 79ddd36974
3 changed files with 9 additions and 2 deletions

1
.gitignore vendored
View File

@ -59,3 +59,4 @@ target/
# Virtualenv # Virtualenv
env/ env/
.python-version

5
.travis.yaml Normal file
View File

@ -0,0 +1,5 @@
language: python
python:
- "3.6"
script:
- python tests.py

View File

@ -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()