Skip to content

Commit 7316709

Browse files
committed
Basic testing setup in travis
Make build work :)
1 parent 8cbef3b commit 7316709

2 files changed

Lines changed: 10 additions & 1 deletion

File tree

.travis.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,8 @@
11
language: python
2-
install: true
32
os:
43
- linux
4+
install: true
5+
script: python tests.py
56
before_deploy:
67
- if [[ "$TRAVIS_OS_NAME" == "linux" ]]; then make funscripting.zip; fi
78
deploy:

tests.py

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
import unittest
2+
3+
class TestFoo(unittest.TestCase):
4+
def test_true(self):
5+
self.assertEqual('foo'.upper(), 'FOO')
6+
7+
if __name__ == '__main__':
8+
unittest.main()

0 commit comments

Comments
 (0)