-
Notifications
You must be signed in to change notification settings - Fork 46
/
.travis.yml
42 lines (42 loc) · 1.7 KB
/
.travis.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
language: c
os: linux
dist: xenial
addons:
apt:
packages:
- build-essential
- cmake
- libgmp3-dev
- gengetopt
- libpcap-dev
- flex
- byacc
- libjson-c-dev
- pkg-config
- libunistring-dev
- libsasl2-dev
- python-dev
- python-pip
- libhiredis-dev
before_install:
- pip install --user sh
- export PATH=/opt/bin:$PATH
before_script:
- wget -O - https://apt.llvm.org/llvm-snapshot.gpg.key|sudo apt-key add -
- echo "deb http://apt.llvm.org/trusty/ llvm-toolchain-trusty-6.0 main" | sudo tee -a /etc/apt/sources.list
- sudo add-apt-repository -y ppa:ubuntu-toolchain-r/test
- sudo apt-get update -qq
- sudo apt-get install libstdc++-4.9-dev libllvm6.0 clang-format-6.0
script:
- mkdir __build
- cd __build
- cmake -DENABLE_DEVELOPMENT=ON -DWITH_JSON=ON -DWITH_REDIS=ON $TRAVIS_BUILD_DIR
- make
- cd $TRAVIS_BUILD_DIR
- python ./scripts/check_manfile.py
compiler: clang
notifications:
email:
- idealeer521@gmail.com
slack:
secure: n/bH/0nuRstHkQgMuPSiwzQD9XRM8zGXaHm9TUPvG3H9V3CWdkdNFYriZVwstB4LOK01PJjrVUPFU3gHAvYv3oNFpnM+vs3LNnit3xOksfCi3D+Fi1xkmhR3QZehXrtiHZTIG37h5NOURcUT+8/Xs69oe9YHi6xGQFt3L06FQNi1xXFZwWHUAqTLKn7rHTRXOH8BiFnzj+a6gCT2zvV9r5u0uvybgrrXiYCpzR0EnO3t5NmheiRwoUPSQSFJWaFWgMXrXEwm8GpzIPGyMDm/9Y0urqV2RcYY2rOskfCGo9RzSAXVVyxyzlKkbiwkN8aB5OWx/yvTUA5r/Bl9GPTwWFvSN7t+Zp6xdh+wB02orGPGGMDHBJTYkoLgSoP/cgUB3qkKOt/k/YSFj1CD4Ktu09iVxZCtNjcCCGUaapn8IoDQJpsso0H5sZVs8XvHrM4DWN5KyWZBeIPFKVyPq2GgrTi9QkoVoPtNENwJ8hR+Fxwrx4cT/5TZaJ6/BwDB8AN8oys9VDcBg2c2xGW+rIuKM1mVe77HdVg+547Z5QdrTX4h5bhAYLYuzMyGt/Yy8G4GXrSUXQNiOsadnV5WzN1RfWiu22auhCxjZzxjaNIbdXonFky4cqghxK22wle3ibFMXDUZ42wPsdV2HUFEg+64ldkfw98oNCnhDvofLRbV++0=