forked from arnaud-lb/php-rdkafka
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
38 lines (38 loc) · 878 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
dist: xenial
language: php
compiler:
- gcc
addons:
apt:
packages:
- valgrind
php:
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- nightly
matrix:
allow_failures:
- php: nightly
env:
global:
- TEST_KAFKA_BROKERS=localhost:9092
- TEST_KAFKA_BROKER_VERSION=2.3
- LIBRDKAFKA_REPOSITORY_URL=https://github.com/edenhill/librdkafka.git
- LIBRDKAFKA_VERSION=v1.2.2
matrix:
- LIBRDKAFKA_VERSION=0.11.x
- LIBRDKAFKA_VERSION=v1.0.1
- LIBRDKAFKA_VERSION=v1.1.0
- LIBRDKAFKA_VERSION=v1.2.2
- LIBRDKAFKA_VERSION=master
before_script:
- ./.travis/start-kafka.sh
script:
- ./.travis/build.sh
### Issues with environmental variables causes this copy to be required
- cp tests/test_env.php.sample tests/test_env.php
- ./.travis/test.sh