Test Report
This commit is contained in:
1 parent
e2080aa635
commit
3c87509d3a
3 files changed
+5
-17
No files matched your search
+4
-7
@@ -26,20 +26,14 @@ cache:
|
||||
|
||||
linter:
|
||||
stage: test
|
||||
needs: []
|
||||
allow_failure: true
|
||||
script:
|
||||
- tox -e linter
|
||||
|
||||
test:
|
||||
stage: test
|
||||
needs: []
|
||||
script:
|
||||
- tox -e py37
|
||||
artifacts:
|
||||
when: always
|
||||
reports:
|
||||
junit: report.xml
|
||||
|
||||
build:
|
||||
stage: build
|
||||
@@ -67,7 +61,10 @@ release:
|
||||
integrate:
|
||||
stage: integration test
|
||||
script: echo test
|
||||
needs: [build]
|
||||
needs:
|
||||
- linter
|
||||
- test
|
||||
- build
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
|
||||
@@ -7,7 +7,7 @@ uninstall:
|
||||
pip uninstall cicflowmeter -y
|
||||
|
||||
clean:
|
||||
rm -rf *.egg-info build dist
|
||||
rm -rf *.egg-info build dist report.xml
|
||||
|
||||
build:
|
||||
python setup.py sdist bdist_wheel --universal
|
||||
|
||||
@@ -14,14 +14,8 @@ AUTHOR = "Le Hieu"
|
||||
REQUIRES_PYTHON = ">=3.7.0"
|
||||
VERSION = None
|
||||
|
||||
# What packages are required for this module to be executed?
|
||||
REQUIRED = ["numpy", "scipy", "scapy"]
|
||||
|
||||
# What packages are optional?
|
||||
EXTRAS = {
|
||||
# 'fancy feature': ['django'],
|
||||
}
|
||||
|
||||
# The rest you shouldn't have to touch too much :)
|
||||
# ------------------------------------------------
|
||||
# Except, perhaps the License and Trove Classifiers!
|
||||
@@ -60,13 +54,10 @@ setup(
|
||||
url=URL,
|
||||
packages=find_packages("src"),
|
||||
package_dir={"cicflowmeter": "src/cicflowmeter"},
|
||||
# If your package is a single module, use this instead of 'packages':
|
||||
# py_modules=['mypackage'],
|
||||
entry_points={
|
||||
"console_scripts": ["cicflowmeter=cicflowmeter.sniffer:main"],
|
||||
},
|
||||
install_requires=REQUIRED,
|
||||
extras_require=EXTRAS,
|
||||
include_package_data=True,
|
||||
license="MIT",
|
||||
classifiers=[
|
||||
|
||||
Reference in new issue
Block a user