summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKane Blueriver <kxxoling@gmail.com>2015-05-28 13:58:15 +0800
committerKane Blueriver <kxxoling@gmail.com>2015-05-28 20:05:57 +0800
commitfa247ef4f73cae737111834be2404855792059d0 (patch)
tree53d1035bba4d4d8be8c515e978841f18e08cd1ac
parente830a595d3e2ab965289e5d80a3d0022643a9345 (diff)
downloadpython-prettytable-ptable-fa247ef4f73cae737111834be2404855792059d0.tar.gz
Using nose to collect unit tests
-rw-r--r--.travis.yml7
-rw-r--r--Makefile1
2 files changed, 6 insertions, 2 deletions
diff --git a/.travis.yml b/.travis.yml
index 0525fe7..8dab6c3 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -5,5 +5,8 @@ python:
- "3.3"
- "3.4"
-# command to run tests
-script: python test_prettytable.py
+install:
+ - "pip install nosetests"
+
+script: make test
+
diff --git a/Makefile b/Makefile
index 45cef54..5e9c892 100644
--- a/Makefile
+++ b/Makefile
@@ -3,6 +3,7 @@
all: test
test:
+ @nosetests
clean: clean-pyc clean-build