forked from php-amqp/php-amqp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
32 lines (26 loc) · 811 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
language: php
php:
- 5.2
- 5.3
- 5.4
- 5.5
- 5.6
services:
- rabbitmq
env:
- NO_INTERACTION=1 TEST_TIMEOUT=120 LIBRABBITMQ_VERSION=master
- NO_INTERACTION=1 TEST_TIMEOUT=120 LIBRABBITMQ_VERSION=v0.5.0
- NO_INTERACTION=1 TEST_TIMEOUT=120 LIBRABBITMQ_VERSION=v0.4.1
- NO_INTERACTION=1 TEST_TIMEOUT=120 LIBRABBITMQ_VERSION=v0.4.0
before_script:
- sh -c "git clone git://github.com/alanxz/rabbitmq-c.git"
- sh -c "cd rabbitmq-c && git checkout ${LIBRABBITMQ_VERSION}"
- sh -c "cd rabbitmq-c && git submodule init && git submodule update"
- sh -c "cd rabbitmq-c && autoreconf -i && ./configure && make && sudo make install"
- sh -c "phpize && ./configure && make"
script:
- sh -c "make test | tee result.txt"
- sh test-report.sh
notifications:
email:
- lstrojny@php.net