testing: flaky memcp udp
[m6w6/libmemcached] / .travis.yml
1 os: linux
2 dist: focal
3 arch:
4 - arm64
5 - ppc64le
6 - s390x
7 language: cpp
8
9 branches:
10 only:
11 - v1.x
12 - travis
13
14 addons:
15 apt:
16 packages:
17 - libevent-dev
18 - libsasl2-dev
19 - libtbb-dev
20
21 env:
22 - CMAKE_BUILD_TYPE=Debug BUILD_TESTING=true ENABLE_SASL=true ENABLE_HASH_HSIEH=true CFLAGS="-O0 --coverage" CXXFLAGS="-O0 --coverage"
23
24 install:
25 - |
26 git clone --depth 1 -b 1.6.7 https://github.com/memcached/memcached
27 cd memcached
28 ./autogen.sh
29 CFLAGS="-O2 -pipe" ./configure \
30 --prefix=/opt \
31 --disable-coverage \
32 --disable-docs \
33 --disable-dependency-tracking \
34 --enable-sasl \
35 --enable-sasl-pwdb \
36 ;
37 make -j2
38 make install
39 cd ..
40
41 before_script:
42 - mkdir build
43
44 script:
45 - cd build
46 - cmake -DMEMCACHED_BINARY=/opt/bin/memcached ..
47 - make -j2 VERBOSE=1
48 - make test VERBOSE=1
49 - make install DESTDIR=/tmp
50
51 after_failure:
52 - cat Testing/Temporary/LastTest.log || true
53
54 after_success:
55 - bash <(curl -s https://codecov.io/bash)
56
57 notifications:
58 webhooks:
59 urls:
60 - https://webhooks.gitter.im/e/796c8423962228333c54
61 on_success: always
62 on_failure: change
63 on_start: never