diff options
-rwxr-xr-x | setup.py | 3 | ||||
-rw-r--r-- | test.sh | 10 |
2 files changed, 13 insertions, 0 deletions
@@ -212,6 +212,9 @@ dist = setup( Programming Language :: Python :: 2.6 Programming Language :: Python :: 2.7 Programming Language :: Python :: 3 + Programming Language :: Python :: 3.1 + Programming Language :: Python :: 3.2 + Programming Language :: Python :: 3.3 Topic :: Software Development :: Libraries :: Python Modules Topic :: System :: Archiving :: Packaging Topic :: System :: Systems Administration @@ -55,3 +55,13 @@ else echo "Success" fi +rm -rf build +echo -n "Running tests for Python 3.3..." +python3.3 setup.py -q test > /dev/null 2> /dev/null +if [ $? -ne 0 ];then + echo "Failed" + exit $1 +else + echo "Success" +fi + |