forked from mmoreram/GearmanBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (29 loc) · 1.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
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
before_script:
- sh -c "sudo apt-get install uuid-dev"
- curl -L -o libevent-1.4.14b-stable.tar.gz https://github.com/downloads/libevent/libevent/libevent-1.4.14b-stable.tar.gz
- tar -xzf libevent-1.4.14b-stable.tar.gz
- sh -c "cd libevent-1.4.14b-stable && ./configure && make && sudo make install && cd .."
- curl -L -o gearmand-0.14.tar.gz https://launchpad.net/gearmand/1.0/0.14/+download/gearmand-0.14.tar.gz
- tar -xzf gearmand-0.14.tar.gz
- sh -c "cd gearmand-0.14 && ./configure && make && sudo make install && cd .."
- curl -L -o gearman-0.8.3.tgz http://pecl.php.net/get/gearman/0.8.3
- tar -xzf gearman-0.8.3.tgz
- sh -c "cd gearman-0.8.3 && phpize && ./configure && make && sudo make install && cd .."
- echo "extension=gearman.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`
- composer install --prefer-source --no-interaction
script:
- phpunit -c phpunit.xml.dist --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
notifications:
email: false