diff --git a/.travis.yml b/.travis.yml index d00de04..d8617d4 100644 --- a/.travis.yml +++ b/.travis.yml @@ -29,10 +29,13 @@ install: - sudo make install - popd - pip install python-magic - - pip install coveralls - - pip install codecov + - pip install lxml - pip install officedissector - if [ $(python -c 'import sys; print(sys.version_info.major)') == '2' ]; then pip install oletools olefile ; fi + - pip install coveralls + - pip install codecov + - wget https://didierstevens.com/files/software/pdfid_v0_2_1.zip + - unzip pdfid_v0_2_1.zip - python setup.py -q install script: diff --git a/tests/test.py b/tests/test.py index bb1063b..b9dd3d6 100644 --- a/tests/test.py +++ b/tests/test.py @@ -8,7 +8,9 @@ import sys from bin.specific import KittenGroomerSpec from bin.pier9 import KittenGroomerPier9 from bin.generic import KittenGroomer -from bin.filecheck import KittenGroomerFileCheck + +if sys.version_info.major == 2: + from bin.filecheck import KittenGroomerFileCheck from kittengroomer import FileBase