adapt cirrus messages to travis'
[m6w6/libmemcached] / .travis.yml
index ff23b34d6c2faa1c39898133b8df33022e89a519..85307b856e4efd30063c6e9fb6e02314765cf4dd 100644 (file)
@@ -1,6 +1,9 @@
 os: linux
 dist: focal
-arch: arm64
+arch:
+  - arm64
+  - ppc64le
+  - s390x
 language: cpp
 
 addons:
@@ -10,7 +13,7 @@ addons:
    - libsasl2-dev
 
 env:
- - CMAKE_BUILD_TYPE=Debug BUILD_TESTING=true ENABLE_SASL=true
+ - CMAKE_BUILD_TYPE=Debug BUILD_TESTING=true ENABLE_SASL=true CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage"
 
 install:
  - |
@@ -37,7 +40,18 @@ script:
  - cmake -DMEMCACHED_BINARY=/opt/bin/memcached ..
  - make -j2 VERBOSE=1
  - make test VERBOSE=1
- - make install DESTDIR=.
+ - make install DESTDIR=/tmp
 
 after_failure:
  - cat Testing/Temporary/LastTest.log || true
+
+after_success:
+ - bash <(curl -s https://codecov.io/bash)
+
+notifications:
+  webhooks:
+    urls:
+      - https://webhooks.gitter.im/e/796c8423962228333c54
+    on_success: always
+    on_failure: change
+    on_start: never