-
Notifications
You must be signed in to change notification settings - Fork 1
Improved CI Config Stability #49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
faf6f84
added notification to codecov
reactive-firewall 8c99116
added more workarounds for depends after new trusty image update on t…
reactive-firewall 848f895
#32 added spell check to tests
reactive-firewall b971bc6
minor change
reactive-firewall e2ef399
more work on fixing travis env changes #32
reactive-firewall c3d5193
added debug info output for brain-dead CI env debugging of python3.5
reactive-firewall 6bd9eb3
investigating workaround for reactive-firewall/Pocket-PiAP#75
reactive-firewall c958ce3
deprecated xcode 6.4 support in CI as part of reactive-firewall/Pocke…
reactive-firewall c37e979
investigating regression workaround for reactive-firewall/Pocket-PiAP#75
reactive-firewall d300e0d
fix regression typo caused by 8c99116a03813c4c1ef132872a6eca781dfa9cae
reactive-firewall f378e33
add wait for updates on osx as part of #75
reactive-firewall b253dd1
dropped support for xcode6.4 as workaround for reactive-firewall/Pock…
reactive-firewall b2fcce8
fix A for PR#49 stickler
reactive-firewall 4a1b38f
added fix B of PR#49 for stickeler
reactive-firewall 60d45ce
added fix c of PR#49 for braindead stickeler
reactive-firewall File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -1,10 +1,12 @@ | ||
| linters: | ||
| shellcheck: | ||
| shell: bash | ||
| exclude: ['.git', 'tests'] | ||
| flake8: | ||
| max-line-length: 100 | ||
| max-complexity: 10 | ||
| max-complexity: 15 | ||
| ignore: 'W191,W391' | ||
| exclude: ['.git', '__pycache__', 'docs', '.tox', 'build'] | ||
| format: default | ||
| files: | ||
| ignore: ['*/*.pyc', '*.pyc', '*~', '.git', '__pycache__'] | ||
| ignore: ['*/*.pyc', '.tox/*', '*.pyc', '*~', '.git', '__pycache__', '*/__pycache__/*'] |
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 |
|---|---|---|
| @@ -0,0 +1,19 @@ | ||
| #! /bin/bash | ||
|
|
||
| # exit fast if command is missing | ||
| test -x $(which spellintian) || exit 0 ; | ||
|
|
||
| THE_TEMP_FILE="/tmp/swapfile_spellcheck_${RANDOM}.tmp.txt" ; | ||
| ( (spellintian ${@:-./**/*} 2>/dev/null | fgrep " -> ") & (spellintian ${@:-./*} 2>/dev/null | fgrep " -> ") & (spellintian ${@:-./**/**/*} 2>/dev/null | fgrep " -> ") ) | sort -h | uniq | tee -a ${THE_TEMP_FILE:-/dev/null} ; | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Double quote array expansions, otherwise they're like $* and break on spaces. |
||
| wait ; | ||
| THECOUNT=$( (wc -l ${THE_TEMP_FILE} 2>/dev/null || echo 0) | cut -d\ -f 1 ) ; | ||
| EXIT_CODE=${THECOUNT} ; | ||
| if [[ ("${THECOUNT}" -le 1) ]] ; then | ||
| EXIT_CODE=0 ; | ||
| echo "OK: Found no detected spelling errors." ; | ||
| else | ||
| echo "FAIL: Found ${THECOUNT:-many} spelling errors." ; | ||
| fi | ||
| rm -f ${THE_TEMP_FILE} 2>/dev/null >> /dev/null || true ; | ||
| wait ; | ||
| exit ${EXIT_CODE:255} ; | ||
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Quote this to prevent word splitting.