Skip to content

Commit

Permalink
Ignore warnings.
Browse files Browse the repository at this point in the history
  • Loading branch information
jason-neal committed Aug 7, 2018
1 parent 296ddae commit 3f692ae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .shippable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -35,5 +35,5 @@ build:

# Run test and code coverage and output results to the right folder
- pytest --junitxml=shippable/testresults/nosetests.xml
- pytest --cov=spectrum_overload --cov-report=xml:shippable/codecoverage/coverage.xml --durations=10 -W error
- pytest --cov=spectrum_overload --cov-report=xml:shippable/codecoverage/coverage.xml --durations=10

2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ install:
- python setup.py install

script:
- pytest --cov=spectrum_overload --cov-report term-missing --durations 10 -W error
- pytest --cov=spectrum_overload --cov-report term-missing --durations 10 -W error::UserWarning
- coverage xml -i

after_success:
Expand Down
6 changes: 6 additions & 0 deletions pytest.ini
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
[pytest]
filterwarnings =
ignore
# error::UserWarning
# error
# ignore::VerifyWarning

0 comments on commit 3f692ae

Please sign in to comment.