PyCIRCLean/.travis.yml

63 lines
1.8 KiB
YAML
Raw Normal View History

language: python
python:
- "2.7"
- "3.3"
- "3.4"
- "3.5"
- "nightly"
2015-10-27 10:59:35 +01:00
sudo: required
addons:
apt:
packages:
- ghostscript
- p7zip-full
2015-11-20 11:47:47 +01:00
- mercurial
2015-10-27 10:59:35 +01:00
install:
2015-10-27 10:59:35 +01:00
- sudo add-apt-repository ppa:fontforge/fontforge --yes
- sudo add-apt-repository ppa:coolwanglu/pdf2htmlex --yes
- sudo apt-get update -qq
- sudo apt-get install -qq libpoppler-dev libpoppler-private-dev libspiro-dev libcairo-dev libpango1.0-dev libfreetype6-dev libltdl-dev libfontforge-dev python-imaging python-pip firefox xvfb
- sudo apt-get install libreoffice
- sudo apt-get install unoconv
- git clone https://github.com/coolwanglu/pdf2htmlEX.git
- pushd pdf2htmlEX
- cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr -DENABLE_SVG=ON .
- make
- sudo make install
- popd
2015-11-03 11:54:38 +01:00
- pip install lxml
2015-11-03 11:12:29 +01:00
- pip install officedissector
- pip install git+https://github.com/Rafiot/python-magic.git@travis
2015-11-03 11:12:29 +01:00
- if [ $(python -c 'import sys; print(sys.version_info.major)') == '2' ]; then pip install oletools olefile ; fi
2015-11-03 11:54:38 +01:00
- 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
- git clone https://github.com/Rafiot/theZoo.git
- pushd theZoo/malwares/Binaries
- python unpackall.py
2015-11-03 16:26:02 +01:00
- popd
- mv theZoo/malwares/Binaries/out tests/src/
2015-11-20 11:47:47 +01:00
- hg clone https://bitbucket.org/jwilk/path-traversal-samples
- pushd path-traversal-samples/zip
- make
- popd
- mv path-traversal-samples/zip/*.zip tests/src/
script:
- coverage run setup.py test
2015-11-24 11:32:44 +01:00
notifications:
email:
on_success: change
on_failure: change
after_success:
- coveralls
- codecov