Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.
Sign upCI: Show error for new translators when license is bad #1650
Conversation
zuphilip
added some commits
May 10, 2018
This comment has been minimized.
This comment has been minimized.
Looks good to me, but haven't tested. Feel free to merge if you're happy with tests. |
zuphilip
reviewed
May 14, 2018
for t in "${newtranslators[@]}";do | ||
if [ "$TRANSLATOR_BASENAME" == "$t" ];then | ||
ERROR_CHECKS+=("badLicense") | ||
unset WARN_CHECKS[0] |
This comment has been minimized.
This comment has been minimized.
zuphilip
May 14, 2018
Author
Collaborator
Note for future me: This only works as long as we don't change the order in this array.
zuphilip
merged commit 7780c65
into
zotero:master
May 14, 2018
1 check passed
continuous-integration/travis-ci/pr
The Travis CI build passed
Details
zuphilip
deleted the
zuphilip:ci-agpl-check
branch
May 14, 2018
This comment has been minimized.
This comment has been minimized.
Thanks. I merged it; then we will see the results in practice. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
zuphilip commentedMay 10, 2018
•
edited
This would throw an error in cases like #1649. The commits here show a test of this CI test.