-
Notifications
You must be signed in to change notification settings - Fork 71
/
.travis.yml
63 lines (48 loc) · 872 Bytes
/
.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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
language: cpp
sudo: enabled
compiler: gcc
before_install:
- sudo apt-get -qq update
# - sudo apt-get install -y libxml2-dev
os:
- linux
addons:
apt:
packages:
- cmake
- cmake-data
- make
- autoconf
- g++
script:
#prepare
- mkdir build
- export PATH=$PATH:$PWD/build
- export PATH=$PATH:$PWD/build/SWAP_SSDB
- export PATH=$PATH:$PWD/build/SWAP_REDIS
#build
- cd build
- cmake ..
- make -j8
- cd ../
#test
- cd swap-ssdb-1.9.2
# - ./runtest.sh
- cd tests/qa/unit
- cmake .;make -j4
- ./build/ssdb-server
- cd -
- cd tests/qa/integration
- sh start_ssdb.sh
- cmake .;make -j4
- ./integ-test --gtest_filter=-ReplicTest.*:RobustTest.*
- cd -
- ./runtest_qa.sh
- cd ../
- cd swap-redis-4.0.0
- ./runtest_qa_redis --loglevel notice
- cd ../
#done
env:
global:
- MAKEFLAGS="-j 8"