Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Better logging, CI , Template bug fix and PEP-8 (#856)
* improve logging * Travis CI * Fix breaking Templates
- Loading branch information
1 parent
7a2c92e
commit 2d1831e
Showing
56 changed files
with
11,663 additions
and
11,602 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -71,3 +71,6 @@ secret | |
|
||
#IntelliJ IDE | ||
.idea | ||
*/migrations/* | ||
.fuse_hidden* | ||
/MalwareAnalyzer/malwaredb/* |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
dist: xenial | ||
language: python | ||
python: | ||
- '3.6' | ||
virtualenv: | ||
system_site_packages: false | ||
sudo: false | ||
cache: | ||
- apt | ||
- pip | ||
before_install: | ||
- export TRAVIS_COMMIT_MSG="$(git log --format=%B --no-merges -n 1)" | ||
- REPO=`pwd` | ||
- echo $REPO | ||
- echo $TRAVIS_TAG | ||
- pwd | ||
- export PDFGEN_PKGFILE="wkhtmltox_0.12.5-1.xenial_amd64.deb" | ||
- export PDFGEN_URL="https://downloads.wkhtmltopdf.org/0.12/0.12.5/${PDFGEN_PKGFILE}" | ||
- export YARA_URL="https://github.com/rednaga/yara-python-1" | ||
- export POSTGRES=False | ||
- export LIBSSL1="http://security.ubuntu.com/ubuntu/pool/main/o/openssl/libssl1.1_1.1.0g-2ubuntu4.3_amd64.deb" | ||
- export LIBSSL1_NAME="libssl1.1_1.1.0g-2ubuntu4.3_amd64.deb" | ||
- sudo apt-get install -y libpng16-16 libssl-dev xfonts-75dpi xfonts-base libffi-dev libxml2-dev libxslt1-dev | ||
- sudo apt-get install -y openssl | ||
- wget ${PDFGEN_URL} | ||
- wget ${LIBSSL1} | ||
- sudo dpkg -i ${LIBSSL1_NAME} | ||
- sudo dpkg -i ${PDFGEN_PKGFILE} | ||
- sudo apt install -y software-properties-common | ||
- sudo add-apt-repository ppa:linuxuprising/java -y | ||
- sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 762E3157 | ||
- sudo apt update | ||
- echo oracle-java11-installer shared/accepted-oracle-license-v1-2 select true | sudo /usr/bin/debconf-set-selections | ||
- sudo apt install -y oracle-java11-installer | ||
addons: | ||
apt: | ||
packages: | ||
- python3-pip | ||
- git | ||
- unzip | ||
- python3-dev | ||
- libevent-dev | ||
- libxml2 | ||
- libxml2-dev | ||
- libxml2-utils | ||
- software-properties-common | ||
- python3-setuptools | ||
- sqlite3 | ||
install: | ||
- export PYTHONIOENCODING=UTF8 | ||
- pip install coveralls | ||
before_script: | ||
# apkid is not being tested currently | ||
- pip install -r requirements.txt | ||
script: | ||
- python manage.py test |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.