forked from php-amqp/php-amqp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
105 lines (90 loc) · 2.98 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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
language: php
sudo: false
services:
- rabbitmq
#install:
# - sudo apt-get update
# - sudo apt-get -qq --fix-missing install valgrind
#
# - wget -qO - http://www.rabbitmq.com/rabbitmq-signing-key-public.asc | sudo apt-key add -
# - sudo add-apt-repository 'deb http://www.rabbitmq.com/debian/ testing main'
# - sudo apt-get update
# - sudo apt-get install --only-upgrade -y rabbitmq-server
# - sudo service rabbitmq-server restart
env:
global:
- NO_INTERACTION=1
- TEST_TIMEOUT=120
matrix:
include:
- php: 7.0
env: LIBRABBITMQ_VERSION=master TEST_PHP_ARGS=-m
- php: 7.0
env: LIBRABBITMQ_VERSION=master
- php: 7.0
env: LIBRABBITMQ_VERSION=v0.8.0 TEST_PHP_ARGS=-m
- php: 7.0
env: LIBRABBITMQ_VERSION=v0.8.0
- php: 7.0
env: LIBRABBITMQ_VERSION=v0.7.1 TEST_PHP_ARGS=-m
- php: 7.0
env: LIBRABBITMQ_VERSION=v0.7.1
- php: 7.0
env: LIBRABBITMQ_VERSION=v0.5.2 TEST_PHP_ARGS=-m
- php: 7.0
env: LIBRABBITMQ_VERSION=v0.5.2
- php: 5.6
env: LIBRABBITMQ_VERSION=master TEST_PHP_ARGS=-m
- php: 5.6
env: LIBRABBITMQ_VERSION=master
- php: 5.6
env: LIBRABBITMQ_VERSION=v0.8.0 TEST_PHP_ARGS=-m
- php: 5.6
env: LIBRABBITMQ_VERSION=v0.8.0
- php: 5.6
env: LIBRABBITMQ_VERSION=v0.7.1 TEST_PHP_ARGS=-m
- php: 5.6
env: LIBRABBITMQ_VERSION=v0.7.1
- php: 5.6
env: LIBRABBITMQ_VERSION=v0.5.2 TEST_PHP_ARGS=-m
- php: 5.6
env: LIBRABBITMQ_VERSION=v0.5.2
- php: 5.5
env: LIBRABBITMQ_VERSION=master TEST_PHP_ARGS=-m
- php: 5.5
env: LIBRABBITMQ_VERSION=v0.8.0 TEST_PHP_ARGS=-m
- php: 5.5
env: LIBRABBITMQ_VERSION=v0.7.1 TEST_PHP_ARGS=-m
- php: 5.5
env: LIBRABBITMQ_VERSION=v0.5.2 TEST_PHP_ARGS=-m
- php: 5.4
env: LIBRABBITMQ_VERSION=master TEST_PHP_ARGS=-m
- php: 5.4
env: LIBRABBITMQ_VERSION=v0.8.0 TEST_PHP_ARGS=-m
- php: 5.4
env: LIBRABBITMQ_VERSION=v0.7.1 TEST_PHP_ARGS=-m
- php: 5.4
env: LIBRABBITMQ_VERSION=v0.5.2 TEST_PHP_ARGS=-m
- php: 5.3
env: LIBRABBITMQ_VERSION=master TEST_PHP_ARGS=-m
- php: 5.3
env: LIBRABBITMQ_VERSION=v0.8.0 TEST_PHP_ARGS=-m
- php: 5.3
env: LIBRABBITMQ_VERSION=v0.7.1 TEST_PHP_ARGS=-m
- php: 5.3
env: LIBRABBITMQ_VERSION=v0.5.2 TEST_PHP_ARGS=-m
before_install:
- sh provision/install_rabbitmq-c.sh ${LIBRABBITMQ_VERSION}
- if [ "${COVERITY_SCAN_BRANCH}" != 1 ]; then phpize && ./configure --with-librabbitmq-dir=$HOME/rabbitmq-c && make ; fi
install:
script:
- sh -c "make test | tee result.txt"
- php -n -c './tmp-php.ini' -d "extension_dir=./modules/" -d "extension=amqp.so" benchmark.php
- sh test-report.sh
addons:
apt:
packages:
- valgrind
notifications:
email:
- lstrojny@php.net