forked from aerospike/aerospike-client-c
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
49 lines (49 loc) · 1.54 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
43
44
45
46
47
48
49
language: c
compiler:
- gcc
- clang
os:
- linux
dist: xenial
before_install:
- sudo apt-get install libssl-dev lua5.1 liblua5.1-0 liblua5.1-0-dev automake
- sudo ln -s /usr/lib/x86_64-linux-gnu/liblua5.1.so.0 /usr/lib/liblua.so
- export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/usr/local/lib
install:
- wget -O aerospike-server.tgz https://www.aerospike.com/download/server/latest/artifact/tgz
- tar xvzf aerospike-server.tgz
- cp -f .travis/aerospike.conf ./aerospike-server/share/etc
- cd aerospike-server
- mkdir instance1
- mkdir instance2
- ./bin/aerospike init --home instance1 --instance 1 --service-port 3000
- ./bin/aerospike init --home instance2 --instance 2 --service-port 3010
- cd instance1
- sudo ./bin/aerospike start
- ../../.travis/wait_for_node.sh var/log/aerospike.log
- cd ../..
- pwd
script:
- make
- make test
- make clean
- ./install_libev
- make EVENT_LIB=libev
- make EVENT_LIB=libev test
- make clean
- ./install_libuv
- make EVENT_LIB=libuv
- make EVENT_LIB=libuv test
- make clean
- ./install_libevent
- make EVENT_LIB=libevent
- make EVENT_LIB=libevent test
notifications:
slack:
secure: k1GG7xFMgcLemnI0LxK0Qw2mukjmTKloHOyHI1wljer7GdOGy8icbaI6n7t1PCZ7MDYSmeQ8MFH5XbaUJT1lVkZYe1MNEsT3dpdDgAHBSk5dAu+5ZvFvoDZpRe7WS8X/mEThGgV1sQY1eKFVW8iVhVxLsSiaFPSWz1z/gGryhK4=
hipchat:
rooms:
secure: LU2ZazlCBCJ/DhWZDgwfAASOy+kSxFlqu6w5KFfD42vCs7NU9+9Cs+nmxfg7OTR3QXv7+9rN+AH8w6jNqx7HYKLj4m+MVkceoyEzVoY+p/k0wx6OrcYW8KazBAuECCM8Lp6bOp56emEhizkjOhZcV7ZgwXo7Yn609OmiFDKzhkM=
email: