adapt cirrus messages to travis'
authorMichael Wallner <mike@php.net>
Tue, 20 Oct 2020 09:15:03 +0000 (11:15 +0200)
committerMichael Wallner <mike@php.net>
Tue, 20 Oct 2020 09:15:03 +0000 (11:15 +0200)
.cirrus.yml
.travis.yml

index 1562dc36b30a1d8364d91b7fc9a35c61b484cd2d..ba7b49296d18c1effa55ff9d267fb25b754b425e 100644 (file)
@@ -53,12 +53,12 @@ task:
     gitter_success_script: |
       curl -sS "${gitter}" \
         --data-urlencode "level=info" \
-        --data-urlencode "message=Cirrus-CI build for ${CIRRUS_BRANCH} on ${OS} [succeeded](https://cirrus-ci.org/task/${CIRRUS_TASK_ID})"
+        --data-urlencode "message=Cirrus [${CIRRUS_REPO_FULL_NAME}](https://github.com/${CIRRUS_REPO_FULL_NAME}/compare/${CIRRUS_LAST_GREEN_CHANGE}...${CIRRUS_CHANGE_IN_REPO}) (${CIRRUS_BRANCH}) [success](https://cirrus-ci.org/task/${CIRRUS_TASK_ID}) (${CIRRUS_OS})"
   on_failure:
     gitter_failure_script: |
       curl -sS "${gitter}" \
         --data-urlencode "level=error" \
-        --data-urlencode "message=Cirrus-CI build for ${CIRRUS_BRANCH} on ${OS} [failed](https://cirrus-ci.org/task/${CIRRUS_TASK_ID})"
+        --data-urlencode "message=Cirrus [${CIRRUS_REPO_FULL_NAME}](https://github.com/${CIRRUS_REPO_FULL_NAME}/compare/${CIRRUS_LAST_GREEN_CHANGE}...${CIRRUS_CHANGE_IN_REPO}) (${CIRRUS_BRANCH}) [failure](https://cirrus-ci.org/task/${CIRRUS_TASK_ID}) (${CIRRUS_OS})"
     testlog_artifacts:
       path: build/Testing/Temporary/LastTest.log
       type: text/plain
index df4174bdea0088afb3b4e8fea7615e45b1d3ea66..85307b856e4efd30063c6e9fb6e02314765cf4dd 100644 (file)
@@ -52,6 +52,6 @@ notifications:
   webhooks:
     urls:
       - https://webhooks.gitter.im/e/796c8423962228333c54
-    on_success: change
+    on_success: always
     on_failure: change
     on_start: never