From: Michael Wallner Date: Fri, 30 Oct 2020 08:50:22 +0000 (+0100) Subject: ws X-Git-Tag: 1.1.0-beta1~148 X-Git-Url: https://git.m6w6.name/?a=commitdiff_plain;h=420d326ba1318cce56c04c4d6fd562b898cfcda8;p=m6w6%2Flibmemcached ws --- diff --git a/.travis.yml b/.travis.yml index abcf4669..3cdca2e2 100644 --- a/.travis.yml +++ b/.travis.yml @@ -7,20 +7,20 @@ arch: language: cpp addons: - apt: - packages: - - libevent-dev - - libsasl2-dev + apt: + packages: + - libevent-dev + - libsasl2-dev env: - - CMAKE_BUILD_TYPE=Debug BUILD_TESTING=true ENABLE_SASL=true ENABLE_HASH_HSIEH=true CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage" + - 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 \ @@ -28,25 +28,25 @@ 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=/tmp + - 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) + - bash <(curl -s https://codecov.io/bash) notifications: webhooks: