File tree 2 files changed +23
-20
lines changed
2 files changed +23
-20
lines changed Original file line number Diff line number Diff line change 4
4
- 5.4
5
5
- 5.5
6
6
- 5.6
7
+ - 7.0
7
8
- hhvm
8
- - hhvm-nightly
9
9
10
10
matrix :
11
11
allow_failures :
12
12
- php : hhvm
13
- - php : hhvm-nightly
14
13
fast_finish : true
15
14
16
15
install : ./travis-init.sh
Original file line number Diff line number Diff line change @@ -11,25 +11,29 @@ if [[ "$TRAVIS_PHP_VERSION" != "hhvm" &&
11
11
# install 'event' PHP extension
12
12
echo " yes" | pecl install event
13
13
14
- # install 'libevent' PHP extension
15
- curl http://pecl.php.net/get/libevent-0.1.0.tgz | tar -xz
16
- pushd libevent-0.1.0
17
- phpize
18
- ./configure
19
- make
20
- make install
21
- popd
22
- echo " extension=libevent.so" >> " $( php -r ' echo php_ini_loaded_file();' ) "
14
+ # install 'libevent' PHP extension (does not support php 7)
15
+ if [[ " $TRAVIS_PHP_VERSION " != " 7.0" ]]; then
16
+ curl http://pecl.php.net/get/libevent-0.1.0.tgz | tar -xz
17
+ pushd libevent-0.1.0
18
+ phpize
19
+ ./configure
20
+ make
21
+ make install
22
+ popd
23
+ echo " extension=libevent.so" >> " $( php -r ' echo php_ini_loaded_file();' ) "
24
+ fi
23
25
24
- # install 'libev' PHP extension
25
- git clone --recursive https://github.com/m4rw3r/php-libev
26
- pushd php-libev
27
- phpize
28
- ./configure --with-libev
29
- make
30
- make install
31
- popd
32
- echo " extension=libev.so" >> " $( php -r ' echo php_ini_loaded_file();' ) "
26
+ # install 'libev' PHP extension (does not support php 7)
27
+ if [[ " $TRAVIS_PHP_VERSION " != " 7.0" ]]; then
28
+ git clone --recursive https://github.com/m4rw3r/php-libev
29
+ pushd php-libev
30
+ phpize
31
+ ./configure --with-libev
32
+ make
33
+ make install
34
+ popd
35
+ echo " extension=libev.so" >> " $( php -r ' echo php_ini_loaded_file();' ) "
36
+ fi
33
37
34
38
fi
35
39
You can’t perform that action at this time.
0 commit comments