Permalink
Browse files

Added travis-ci config file

  • Loading branch information...
1 parent b2fb3d3 commit 82c09c42f553bf20ec2ebaebc2333935eca59fb5 @stchris committed Apr 2, 2012
Showing with 9 additions and 5 deletions.
  1. +7 −0 .travis.yml
  2. +2 −5 setup.py
View
7 .travis.yml
@@ -0,0 +1,7 @@
+language: python
+python:
+ - 2.5
+ - 2.6
+ - 2.7
+install: pip install -r requirements.txt
+script: python setup.py test
View
7 setup.py
@@ -18,13 +18,9 @@
import sys
import untangle
-from distutils.core import setup
+from setuptools import setup
-if sys.argv[-1] == "test":
- os.system("python tests/tests.py")
- sys.exit()
-
setup(
name='untangle',
version=untangle.__version__,
@@ -49,5 +45,6 @@
# 'Programming Language :: Python :: 3.0',
# 'Programming Language :: Python :: 3.1',
),
+ test_suite = 'nose.collector'
)

0 comments on commit 82c09c4

Please sign in to comment.