X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=.travis.yml;h=f7cc6b1aa9c6c7f12e67ab830002f20ed13b258b;hb=6b7d2bf0319e0bd48bd6aa4ad8c56a935f98b0d2;hp=ff23b34d6c2faa1c39898133b8df33022e89a519;hpb=7e2b466107a65e22f1cc258ca8643922dbb60352;p=awesomized%2Flibmemcached diff --git a/.travis.yml b/.travis.yml index ff23b34d..f7cc6b1a 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,23 +1,32 @@ os: linux dist: focal -arch: arm64 +arch: + - arm64 + - ppc64le + - s390x language: cpp +branches: + only: + - v1.x + - travis + addons: - apt: - packages: - - libevent-dev - - libsasl2-dev + apt: + packages: + - libevent-dev + - libsasl2-dev + - libtbb-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: - - | - git clone --depth 1 -b 1.6.7 https://github.com/memcached/memcached - cd memcached - ./autogen.sh - CFLAGS="-O2 -pipe" ./configure \ + - | + git clone --depth 1 -b 1.6.7 https://github.com/memcached/memcached + cd memcached + ./autogen.sh + CFLAGS="-O2 -pipe" ./configure \ --prefix=/opt \ --disable-coverage \ --disable-docs \ @@ -25,19 +34,30 @@ install: --enable-sasl \ --enable-sasl-pwdb \ ; - make -j2 - make install - cd .. + make -j2 + make install + cd .. before_script: - - mkdir build + - mkdir build script: - - cd build - - cmake -DMEMCACHED_BINARY=/opt/bin/memcached .. - - make -j2 VERBOSE=1 - - make test VERBOSE=1 - - make install DESTDIR=. + - cd build + - cmake -DMEMCACHED_BINARY=/opt/bin/memcached .. + - make -j2 VERBOSE=1 + - make test VERBOSE=1 + - make install DESTDIR=/tmp after_failure: - - cat Testing/Temporary/LastTest.log || true + - 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