Minimum changes to make Travis build work

Had to comment out the path traversal exploit section due to broken bitbucket link.
Also added --no-check-certificate due to wget not finding a valid certificate for
https://www.officedissector.com
pull/5/head
Dan Puttick 2016-12-07 11:09:11 -05:00
parent e44c64f676
commit 496aa479bd
1 changed files with 12 additions and 12 deletions

View File

@ -65,23 +65,23 @@ install:
- popd - popd
- mv theZoo/malwares/Binaries/out tests/src/ - mv theZoo/malwares/Binaries/out tests/src/
# path transversal # path transversal
- hg clone https://bitbucket.org/jwilk/path-traversal-samples # - hg clone https://bitbucket.org/jwilk/path-traversal-samples
- pushd path-traversal-samples # - pushd path-traversal-samples
- pushd zip # - pushd zip
- make # - make
- popd # - popd
- pushd rar # - pushd rar
- make # - make
- popd # - popd
- popd # - popd
- mv path-traversal-samples/zip/*.zip tests/src/ # - mv path-traversal-samples/zip/*.zip tests/src/
- mv path-traversal-samples/rar/*.rar tests/src/ # - mv path-traversal-samples/rar/*.rar tests/src/
# Office docs # Office docs
- git clone https://github.com/eea/odfpy.git - git clone https://github.com/eea/odfpy.git
- mv odfpy/tests/examples/* tests/src/ - mv odfpy/tests/examples/* tests/src/
- pushd tests/src/ - pushd tests/src/
- wget https://bitbucket.org/decalage/olefileio_pl/raw/3073963b640935134ed0da34906fea8e506460be/Tests/images/test-ole-file.doc - wget https://bitbucket.org/decalage/olefileio_pl/raw/3073963b640935134ed0da34906fea8e506460be/Tests/images/test-ole-file.doc
- wget http://www.officedissector.com/corpus/fraunhoferlibrary.zip - wget --no-check-certificate https://www.officedissector.com/corpus/fraunhoferlibrary.zip
- unzip -o fraunhoferlibrary.zip - unzip -o fraunhoferlibrary.zip
- rm fraunhoferlibrary.zip - rm fraunhoferlibrary.zip
- 7z x 42.zip -p42 - 7z x 42.zip -p42