Skip to content

Conversation

@reactive-firewall
Copy link
Owner

@reactive-firewall reactive-firewall commented Aug 18, 2018

- if [ $TRAVIS_PYTHON_VERSION == "3.2" ] ; then echo "SKIP make test-tox" ; else make test-tox || exit $? ; fi ;
- make clean ;
- make clean || exit $? ;
- if [ $TRAVIS_PYTHON_VERSION == "3.2" ] || [ $TRAVIS_PYTHON_VERSION == "3.3" ] ; then echo "SKIP make test-tox" ; else make test-tox || exit $? ; fi ;
Copy link
Owner Author

@reactive-firewall reactive-firewall Aug 18, 2018

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This workaround helps fixes tox dependency on python 3.4+ from breaking 3.3 or older builds
also lines 180-181

- if [ $TRAVIS_PYTHON_VERSION == "3.2" ] ; then echo "SKIP codecov" ; else codecov 2>/dev/null || true ; fi ;
- if [ $TRAVIS_OS_NAME == osx ] || [ $TRAVIS_PYTHON_VERSION == "3.2" ] ; then echo "SKIP code climate" ; else ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT || true ; fi ;
- if [ $TRAVIS_PYTHON_VERSION == "3.2" ] ; then echo "SKIP codecov" ; else codecov 2>/dev/null || true ; fi ;
- if [ $TRAVIS_OS_NAME == osx ] || [ $TRAVIS_PYTHON_VERSION == "3.2" ] || [ $TRAVIS_PYTHON_VERSION == "3.3" ] ; then echo "SKIP code climate" ; else ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT || true ; fi ;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same as line 172

- if [ $TRAVIS_OS_NAME == osx ] || [ $TRAVIS_PYTHON_VERSION == "3.2" ] ; then echo "SKIP code climate" ; else ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT || true ; fi ;
- if [ $TRAVIS_PYTHON_VERSION == "3.2" ] ; then echo "SKIP codecov" ; else codecov 2>/dev/null || true ; fi ;
- if [ $TRAVIS_OS_NAME == osx ] || [ $TRAVIS_PYTHON_VERSION == "3.2" ] || [ $TRAVIS_PYTHON_VERSION == "3.3" ] ; then echo "SKIP code climate" ; else ./cc-test-reporter after-build --exit-code $TRAVIS_TEST_RESULT || true ; fi ;
- if [ $TRAVIS_PYTHON_VERSION == "3.2" ] || [ $TRAVIS_PYTHON_VERSION == "3.3" ] ; then echo "SKIP codecov" ; else codecov 2>/dev/null || true ; fi ;
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

same as line 172

# List of patterns, relative to source directory, that match files and
# directories to ignore when looking for source files.
exclude_patterns = ['_build']
exclude_patterns = ['_build', 'tests']
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

document tests separately ... not in template



__version__ = """1.0.0"""
__version__ = """1.1.0"""
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Version bump

[metadata]
name = pythonrepo
version = 1.0.2
version = 1.1.1
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

version bump

@coveralls
Copy link

coveralls commented Aug 18, 2018

Coverage Status

Coverage remained the same at 100.0% when pulling ff11403 on master into d1e85e3 on stable.

@codecov
Copy link

codecov bot commented Aug 18, 2018

Codecov Report

Merging #23 into stable will not change coverage.
The diff coverage is 100%.

Impacted file tree graph

@@          Coverage Diff          @@
##           stable    #23   +/-   ##
=====================================
  Coverage     100%   100%           
=====================================
  Files           2      2           
  Lines          45     44    -1     
=====================================
- Hits           45     44    -1
Impacted Files Coverage Δ
pythonrepo/__init__.py 100% <100%> (ø) ⬆️
pythonrepo/pythonrepo.py 100% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update d1e85e3...ff11403. Read the comment docs.

@reactive-firewall
Copy link
Owner Author

👍 Automated Code review passed.

  • Code style is deemed acceptable (Python via PEP-8 conformance)
  • Code Coverage is deemed acceptable (and test coverage is better than 90% on all files)
  • Dependency versions are current

@reactive-firewall
Copy link
Owner Author

Update: After investigating the CI Failure, I found no critical failure.

  • It should be safe to ignore this failure for now and restart the build test.
  • Expected result of restart is success.
  • Rational: Error was triggered by lack of output from Travis CI test build in one environment possibly indicating a stalled build

@reactive-firewall reactive-firewall merged commit ff11403 into stable Aug 24, 2018
reactive-firewall added a commit that referenced this pull request Aug 24, 2018
* master:
  Fixed regression in  CI env updates
  Posible fix for coverity scans and CI env updates
  #25 Reduced cognitive complexity by breaking up function into checks and work slightly
  #25 Fixed Exsesive Cognitive Complexity
  #24 Fixed Trailing Space
  #23 - minor typo fix
  #23 fix for regression bug
  #23 reduced code duplication as recommended by code climate
  workaround for broken python 3.3 env on travis
  version bump
  minor fixes to copyright
  fix for whitespace
  fix badges
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants