forked from icicleio/icicle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
40 lines (35 loc) · 986 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
39
40
language: php
php:
- 7.0
sudo: false
install:
- curl -LS https://github.com/libuv/libuv/archive/v1.6.1.tar.gz | tar -xz;
pushd libuv-*;
./autogen.sh;
./configure --prefix=$(dirname `pwd`)/libuv;
make;
make install;
popd;
git clone https://github.com/bwoebi/php-uv.git;
pushd php-uv;
phpize;
./configure --with-uv=$(dirname `pwd`)/libuv;
make;
make install;
popd;
echo "extension=uv.so" >> "$(php -r 'echo php_ini_loaded_file();')";
- curl -LS https://pecl.php.net/get/ev | tar -xz;
pushd ev-*;
phpize;
./configure;
make;
make install;
popd;
echo "extension=ev.so" >> "$(php -r 'echo php_ini_loaded_file();')";
- composer self-update
- composer install --no-interaction --prefer-source
script:
- vendor/bin/phpunit --coverage-text --coverage-clover build/logs/clover.xml
after_script:
- composer require satooshi/php-coveralls dev-master
- vendor/bin/coveralls -v --exclude-no-stmt