-
-
Notifications
You must be signed in to change notification settings - Fork 59
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
33 changed files
with
754 additions
and
181 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 |
---|---|---|
|
@@ -10,5 +10,5 @@ _build | |
_resources | ||
build/ | ||
dist/ | ||
logs | ||
virtualenvs | ||
logs/ | ||
venv/ |
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 |
---|---|---|
|
@@ -20,12 +20,12 @@ env: | |
before_install: | ||
- sudo apt-get -qq update | ||
- > | ||
sudo apt-get install -y | ||
sudo apt-get -yqq --no-install-recommends install | ||
build-essential | ||
cmake | ||
libfuzzy-dev | ||
unrar | ||
- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce | ||
#- sudo apt-get -y -o Dpkg::Options::="--force-confnew" install docker-ce | ||
|
||
# Build latest images spamscope-root, spamscope-elasticsearch | ||
# make images | ||
|
@@ -51,6 +51,7 @@ before_install: | |
install: | ||
- pip install --upgrade pip setuptools | ||
- python setup.py install | ||
- pip install -r requirements_optional.txt | ||
- git clone https://$BITBUCKET_USER:[email protected]/$BITBUCKET_USER/zemana-api.git $ZEMANA_PATH && cd $ZEMANA_PATH && python setup.py install && cd - | ||
- src/cli/faup.sh | ||
- pip install coveralls | ||
|
@@ -61,7 +62,7 @@ before_script: | |
# command to run tests | ||
script: | ||
# Unittests and coverage | ||
- coverage run --include=src/modules/* --omit=src/modules/abstracts.py -m unittest discover -s tests -f -v | ||
- coverage run --include=src/modules/* --omit=src/modules/abstracts.py,src/modules/mails/spamassassin_analysis.py -m unittest discover -s tests -f -v | ||
|
||
# timing | ||
- python tests/timing_test_search_keywords.py | ||
|
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.