Added .travis.yml file

This commit is contained in:
John Dewey 2014-05-31 15:32:13 -07:00
parent fe63f100ed
commit 5dee1b2305
2 changed files with 9 additions and 1 deletions

8
.travis.yml Normal file
View File

@ -0,0 +1,8 @@
language: python
python:
- 2.6
- 2.7
install:
- pip install tox
script:
- tox

View File

@ -22,7 +22,7 @@ from giftwrap import util
class TestUtil(unittest.TestCase):
def test_execute_returns_exitcode_tuple(self):
cmd = '/bin/test true'
cmd = 'test true'
result, _, _ = util.execute(cmd)
self.assertEquals(0, result)