diff --git a/.travis.yml b/.travis.yml new file mode 100644 index 0000000..8d72618 --- /dev/null +++ b/.travis.yml @@ -0,0 +1,33 @@ +language: python + +python: + - "2.7" + +sudo: required + +dist: trusty + +install: + - sudo apt-get update -q + - sudo apt-get install libfuzzy2 libfuzzy-dev ssdeep + - wget https://github.com/plusvic/yara/archive/v3.4.0.tar.gz + - tar zxvf v3.4.0.tar.gz + - pushd yara-3.4.0 + - ./bootstrap.sh + - ./configure + - make + - sudo make install + - sudo ldconfig + - pushd yara-python + - python setup.py build + - python setup.py install + - popd + - popd + - pip install -U pip setuptools python-magic yapsy simplejson pydeep + - if [ $(python -c 'import sys; print(sys.version_info.major)') == '2' ]; then pip install pefile distorm3 ; fi + - python setup.py build + - python setup.py install + +script: + - python setup.py test + - mas.py -h diff --git a/setup.py b/setup.py index df332bc..298022c 100755 --- a/setup.py +++ b/setup.py @@ -20,13 +20,13 @@ if sys.version_info < (2, 6, 6): sys.stderr.write("Mastiff requires python version 2.6.6") sys.exit(1) - + setup( author='Tyler Hudak', author_email='mastiff-project@korelogic.com', - data_files=[('/etc/mastiff', ['mastiff.conf'])], + #data_files=[('/etc/mastiff', ['mastiff.conf'])], description="""MASTIFF is a static analysis automation framework.""", - install_requires=['Yapsy == 1.10, !=1.10-python3'], + install_requires=['yapsy'], license='Apache License V2.0', long_description="""MASTIFF is a static analysis framework that automates the process of extracting key characteristics from a number of different file @@ -38,8 +38,8 @@ rather than figuring out how to parse files.""", maintainer='Tyler Hudak', maintainer_email='mastiff-project@korelogic.com', - name='mastiff', - packages=find_packages(), + name='mastiff', + packages=find_packages(), package_data={'': ['*.py', '*.yapsy-plugin'] }, platforms=['Linux'], scripts=['mas.py'],