include: apply clang-format
[m6w6/libmemcached] / .travis.yml
index f2e85f485bb3577e4ad2876690e6372916fda3e3..abcf4669a25f2a6861b989da4408c90400e40589 100644 (file)
@@ -3,6 +3,7 @@ dist: focal
 arch:
   - arm64
   - ppc64le
+  - s390x
 language: cpp
 
 addons:
@@ -12,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 ENABLE_HASH_HSIEH=true CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage"
 
 install:
  - |
@@ -39,15 +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: change
+    on_success: always
     on_failure: change
     on_start: never