-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy path.travis.yml
70 lines (64 loc) · 2.21 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
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
sudo: required
language: c
matrix:
include:
- env: postgres=9.4
addons:
postgresql: 9.4
apt:
packages:
- postgresql-server-dev-9.4
install:
- sudo make install
- env: postgres=9.5
addons:
postgresql: 9.5
apt:
packages:
- postgresql-server-dev-9.5
install:
- sudo make install
- env: postgres=9.6
addons:
postgresql: 9.6
apt:
packages:
- postgresql-server-dev-9.6
install:
- sudo make install
- env: postgres=10
addons:
postgresql: 10
apt:
packages:
- postgresql-10
- postgresql-client-10
- postgresql-server-dev-10
install:
- export PGPORT=5433
- sudo make install
- env: postgres=11
install:
- sudo apt-get remove -y postgresql-9.2
- sudo apt-get install postgresql-11 postgresql-client-11 postgresql-server-dev-11
- export PGPORT=5433
- sudo -u postgres psql -c "create user travis with superuser";
- sudo make install
allow_failures:
- env: postgres=9.4
fast_finish: true
before_install:
- wget https://archive.apache.org/dist/kafka/0.11.0.1/kafka_2.11-0.11.0.1.tgz -O kafka.tgz
- mkdir -p kafka && tar xzf kafka.tgz -C kafka --strip-components 1
- nohup bash -c "cd kafka && bin/zookeeper-server-start.sh config/zookeeper.properties &"
- nohup bash -c "cd kafka && bin/kafka-server-start.sh config/server.properties &"
- ln -s kafka/bin/kafka-topics.sh kafka/bin/kafka-topics
- ln -s kafka/bin/kafka-console-producer.sh kafka/bin/kafka-console-producer
- wget https://github.com/edenhill/librdkafka/archive/v0.11.1.tar.gz
- tar -zxvf v0.11.1.tar.gz
- sudo bash -c "cd librdkafka-0.11.1 && ./configure && make && make install"
- sudo cp /usr/local/lib/librdkafka.so* /lib/
script:
- KAFKA_PRODUCER=$PWD/kafka/bin/kafka-console-producer.sh KAFKA_TOPICS=$PWD/kafka/bin/kafka-topics.sh make installcheck
after_failure:
- cat regression.diffs