travis: cmake
[m6w6/libmemcached] / .travis.yml
1 services:
2 - memcached
3
4 addons:
5 apt:
6 packages:
7 - python-sphinx
8 - valgrind
9 - libevent-dev
10
11 dist: bionic
12 language: cpp
13 compiler:
14 - gcc
15 - clang
16
17 env:
18 # prod
19 - BUILD=Release
20 - BUILD=Debug
21
22 #before_install:
23 #install:
24
25 before_script:
26 - memcached-tool localhost:11211 settings
27 - mkdir build
28
29 script:
30 - cmake -B build -S . -DCMAKE_BUILD_TYPE=${BUILD}
31 - make -C build
32 - make -C build test
33
34 #before_cache:
35 #after_success:
36
37 after_failure:
38 - cat build/Testing/Temporary/LastTest.log
39
40 #after_script: