Add six to travis harness requirements.

This commit is contained in:
John Evans 2014-09-11 11:47:01 -04:00
commit cde16a062e
2 changed files with 5 additions and 4 deletions

View file

@ -12,9 +12,9 @@ before_install:
# command to install dependencies # command to install dependencies
install: install:
- if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install lxml contextlib2 mock; fi - if [[ $TRAVIS_PYTHON_VERSION == '2.7' ]]; then pip install lxml contextlib2 mock six; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install lxml numpy; fi - if [[ $TRAVIS_PYTHON_VERSION == '3.3' ]]; then pip install lxml numpy six; fi
- if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then pip install lxml numpy; fi - if [[ $TRAVIS_PYTHON_VERSION == '3.4' ]]; then pip install lxml numpy six; fi
# command to run tests # command to run tests
script: script:

View file

@ -8,12 +8,13 @@ Test suite for warnings issued by glymur.
import os import os
import re import re
import struct import struct
import six
import sys import sys
import tempfile import tempfile
import unittest import unittest
import warnings import warnings
import six
from glymur import Jp2k from glymur import Jp2k
import glymur import glymur