update CIs
authorMichael Wallner <mike@php.net>
Tue, 13 Oct 2020 18:13:56 +0000 (20:13 +0200)
committerMichael Wallner <mike@php.net>
Tue, 13 Oct 2020 18:13:56 +0000 (20:13 +0200)
.cirrus.yml
.github/workflows/cmake-build-ci.gen
.github/workflows/cmake-build-ci.yml
.travis.yml

index c7fe30bc189c730ea0f6090c45e1c642a607439c..58f79e477b624babd93802773e015f906000264d 100644 (file)
@@ -10,6 +10,7 @@ env:
 task:
   name: Freebsd
   env:
+    gitter: ENCRYPTED[92e34815ac1a27681bf868c8299bfa37f3cb98c7d88156884c85dfb33e786bd3124c5d624721fb13735d23f7c57ead4b]
     ports: RELEASE_12_1_0
   freebsd_instance:
     image_family: freebsd-12-1
@@ -46,6 +47,16 @@ task:
     sudo -E -u nobody make -C build -j2 test/fast
   install_script: |
     sudo -E -u nobody make -C build install DESTDIR=/tmp
+  on_success:
+    gitter_script: |
+      curl -sS "${gitter}" \
+        --data-urlencode "level=info" \
+        --data-urlencode "message=Cirrus-CI build for ${CIRRUS_BRANCH} on ${OS} [succeeded](https://cirrus-ci.org/tasg/${CIRRUS_TASK_ID})"
   on_failure:
-    failed_script: |
-      cat build/Testing/Temporary/LastTest.log || true
+    gitter_script: |
+      curl -sS "${gitter}" \
+        --data-urlencode "level=error" \
+        --data-urlencode "message=Cirrus-CI build for ${CIRRUS_BRANCH} on ${OS} [failed](https://cirrus-ci.org/tasg/${CIRRUS_TASK_ID})"
+    testlog_artifacts:
+      path: build/Testing/Temporary/LastTest.log
+      type: text/plain
index 2438347cbecfa225ba55b757b7f0a1ab1d0073ae..c844fef3161d3b700c155107107e87b37d661ded 100755 (executable)
@@ -194,7 +194,6 @@ on:
       - ".cirrus.yml"
     branches-ignore:
       - gh-pages
-      - v1.x
   pull_request:
     branches:
       - master
index 01b8f5a6aac79313320e091896fc8b173c48c8b2..b45102c117484a7708abf3047406b641a80ad9e7 100644 (file)
@@ -8,7 +8,6 @@ on:
       - ".cirrus.yml"
     branches-ignore:
       - gh-pages
-      - v1.x
   pull_request:
     branches:
       - master
index ff23b34d6c2faa1c39898133b8df33022e89a519..cca0ed8e2e539f7c462b2d4f875e2838b8e07f37 100644 (file)
@@ -41,3 +41,11 @@ script:
 
 after_failure:
  - cat Testing/Temporary/LastTest.log || true
+
+notifications:
+  webhooks:
+    urls:
+      - https://webhooks.gitter.im/e/796c8423962228333c54
+    on_success: change
+    on_failure: change
+    on_start: never