-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy path.travis.yml
38 lines (37 loc) · 1.38 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
sudo: false
addons:
apt:
packages:
- rake
- bison
- git
- gperf
- redis-server
language: c
compiler:
- gcc
- clang
before_script:
- redis-server --port 6379 &
- redis-server --port 6380 --requirepass 'secret' &
- redis-server --cluster-enabled yes --cluster-config-file 7000-nodes.conf --port 7000 &
- redis-server --cluster-enabled yes --cluster-config-file 7001-nodes.conf --port 7001 &
- redis-server --cluster-enabled yes --cluster-config-file 7002-nodes.conf --port 7002 &
- redis-server --cluster-enabled yes --cluster-config-file 7003-nodes.conf --port 7003 &
- redis-server --cluster-enabled yes --cluster-config-file 7004-nodes.conf --port 7004 &
- redis-server --cluster-enabled yes --cluster-config-file 7005-nodes.conf --port 7005 &
- echo yes | redis-cli --cluster create 127.0.0.1:7000 127.0.0.1:7001 127.0.0.1:7002 127.0.0.1:7003 127.0.0.1:7004 127.0.0.1:7005
script:
- rake test
notifications:
irc:
channels:
- "irc.freenode.org#backdoor-log"
on_success: always
on_failure: always
use_notice: true
skip_join: true
template:
- "[%{message}] %{repository} (%{commit}) by %{author}: See %{build_url}"
webhooks:
- secure: "B40Dmvt0JkAQA/dfhUP+NYFI37pBkxRBrc+XudT2bCilj3Z99B1l36oHxfy9Ate01yDPNrq7pCT2WGmLhfumXwwiucxcSpCg06D563IPZsrc4fnhqwTyWzTu8YUvEYgUONG5gokPOAIP9yGXNbyel9+wPVZitOkVTPRrm3PNbiE="