Travis CI fixes
This commit is contained in:
parent
8d47981b22
commit
f9c0a92e98
@ -1,3 +1,4 @@
|
||||
dist: xenial
|
||||
language: php
|
||||
php:
|
||||
- '7.3'
|
||||
@ -7,7 +8,7 @@ php:
|
||||
addons:
|
||||
apt:
|
||||
packages:
|
||||
- cmake
|
||||
- libzip-dev
|
||||
|
||||
before_install:
|
||||
- echo "phar.readonly = 0" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini
|
||||
|
@ -57,13 +57,13 @@ cp -a $madelinePath/src vendor/danog/madelineproto/
|
||||
cd ..
|
||||
|
||||
[ $PHP_MAJOR_VERSION -eq 5 ] && {
|
||||
git clone https://github.com/php-build/php-build $(phpenv root)/plugins/php-build
|
||||
git clone -b rel-1-5-1 https://github.com/nih-at/libzip.git
|
||||
cd libzip
|
||||
cmake -DCMAKE_INSTALL_PREFIX=$HOME/.phpenv/versions/7.3.6 .
|
||||
make -j11
|
||||
make install
|
||||
phpenv install 7.3.6 <<<y
|
||||
#git clone https://github.com/php-build/php-build $(phpenv root)/plugins/php-build
|
||||
#git clone -b rel-1-5-1 https://github.com/nih-at/libzip.git
|
||||
#cd libzip
|
||||
#cmake -DCMAKE_INSTALL_PREFIX=$HOME/.phpenv/versions/7.3.6 .
|
||||
#make -j11
|
||||
#make install
|
||||
phpenv install 7.3.6
|
||||
|
||||
~/.phpenv/versions/7.3.6/bin/php $php7to5 convert --copy-all phar7 phar5 >/dev/null
|
||||
sed 's/^Loop::set.*;//g' -i phar5/vendor/amphp/amp/lib/Loop.php
|
||||
|
Loading…
Reference in New Issue
Block a user