forked from pycontribs/jira
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tests cleanup, enabled py34 in travis, added pretest before running t…
…ests.
- Loading branch information
Showing
4 changed files
with
14 additions
and
5 deletions.
There are no files selected for viewing
This file contains 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 |
---|---|---|
|
@@ -13,3 +13,4 @@ tests/settings.py | |
encrypt-credentials.sh | ||
setenv.sh | ||
test-quick | ||
settings.py |
This file contains 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 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,9 @@ | ||
#!/bin/bash | ||
|
||
CODE=`curl -L -s -u $CI_JIRA_ADMIN:$CI_JIRA_ADMIN_PASSWORD -X GET -H "Content-Type: application/json" -o /dev/null -w "%{http_code}" https://pycontribs.atlassian.net/rest/api/2/issue/createmeta` | ||
if [ "$CODE" == "200" ]; then | ||
echo INFO: JIRA authentication works so we can continue... | ||
else | ||
echo FATAL: Unable to authenticate | ||
exit 1 | ||
fi |
This file contains 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