Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
common_analysis_oms
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
fact-gitdep
common_analysis_oms
Commits
b9a12389
Commit
b9a12389
authored
Jun 02, 2018
by
weidenba
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
coverage added to pytest config
parent
d92bb80c
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
4 additions
and
18 deletions
+4
-18
.gitignore
.gitignore
+3
-0
.travis.yml
.travis.yml
+0
-17
pytest.ini
pytest.ini
+1
-1
No files found.
.gitignore
View file @
b9a12389
...
...
@@ -6,3 +6,6 @@ build
.project
.pydevproject
.cache
.pytest_cache
.coverage
.travis.yml
deleted
100644 → 0
View file @
d92bb80c
dist
:
trusty
language
:
python
python
:
-
"
3.5"
-
"
3.6"
# command to install dependencies
install
:
-
"
sudo
apt-get
-qq
update"
-
"
sudo
apt-get
install
-y
clamav"
-
"
sudo
freshclam"
-
"
sudo
apt-get
install
clamav-daemon"
-
"
python
setup.py
-q
install"
-
"
pip
install
pytest-pep8
pytest-cov
codecov"
# command to run tests
script
:
"
pytest
--cov=./"
after_success
:
-
codecov
pytest.ini
View file @
b9a12389
[pytest]
addopts
=
--pep8 -v
addopts
=
--pep8 -v
--cov=./
pep8ignore
=
*.py E501
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment