forked from friends-of-reactphp/stomp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (25 loc) · 824 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
language: php
php:
- 5.3.3
- 5.3
- 5.4
- 5.5
env:
- STOMP_PROVIDER=rabbitmq
- STOMP_PROVIDER=apollo
before_script:
- sh -c " if [ '$STOMP_PROVIDER' = 'apollo' ]; then
wget http://apache.opensourcemirror.com/activemq/activemq-apollo/1.6/apache-apollo-1.6-unix-distro.tar.gz;
tar xzf apache-apollo-1.6-unix-distro.tar.gz;
./apache-apollo-1.6/bin/apollo create apollo;
./apollo/bin/apollo-broker-service start;
sleep 6;
fi"
- sh -c " if [ '$STOMP_PROVIDER' = 'rabbitmq' ]; then
sudo rabbitmq-plugins enable rabbitmq_stomp;
sudo service rabbitmq-server start;
fi"
- composer install --dev --prefer-source
script:
- phpunit --coverage-text
- phpunit -c phpunit-functional.xml.dist