mirror of
https://github.com/ChaiScript/ChaiScript.git
synced 2025-12-08 01:36:54 +08:00
Post cppcheck results to pull request
This commit is contained in:
parent
a652a7e564
commit
12de955a47
@ -24,7 +24,7 @@ after_script:
|
||||
- echo -n '{ "body": " ' > output.json
|
||||
- echo -n `awk '{printf "%s\\\\n", $0;}' output` >> output.json
|
||||
- echo -n '"}' >> output.json
|
||||
- if [ "${TRAVIS_PULL_REQUEST}" = "true" ]; then curl -H "Authorization: token ${TOKEN}" --request POST --data @output.json https://api.github.com/repos/ChaiScript/ChaiScript/commits/${TRAVIS_COMMIT}/comments; fi
|
||||
- if [ "${TRAVIS_PULL_REQUEST}" = "false" ]; then curl -H "Authorization: token ${TOKEN}" --request POST --data @output.json https://api.github.com/repos/ChaiScript/ChaiScript/commits/${TRAVIS_COMMIT}/comments; else curl -H "Authorization: token ${TOKEN}" --request POST --data @output.json https://api.github.com/repos/ChaiScript/ChaiScript/issues/${TRAVIS_PULL_REQUEST}/comments; fi
|
||||
notifications:
|
||||
recipients:
|
||||
- jason@emptycrate.com
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user