changelog
[awesomized/libmemcached] / .travis.yml
index cca0ed8e2e539f7c462b2d4f875e2838b8e07f37..df4174bdea0088afb3b4e8fea7615e45b1d3ea66 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,11 +40,14 @@ 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: