Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 4eb4166

Browse filesBrowse files
[travis] fix travis hopefuly
1 parent b87de42 commit 4eb4166
Copy full SHA for 4eb4166

File tree

Expand file treeCollapse file tree

1 file changed

+19
-22
lines changed
Filter options
Expand file treeCollapse file tree

1 file changed

+19
-22
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+19-22Lines changed: 19 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
language: php
22

3-
dist: xenial
3+
dist: bionic
44

55
git:
66
depth: 2
@@ -11,6 +11,9 @@ addons:
1111
- language-pack-fr-base
1212
- zookeeperd
1313
- libzookeeper-mt-dev
14+
- librabbitmq-dev
15+
- libsodium-dev
16+
- libtidy-dev
1417

1518
env:
1619
global:
@@ -36,15 +39,6 @@ cache:
3639
- ~/php-ext
3740

3841
before_install:
39-
- |
40-
# Enable Sury ppa
41-
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys 6B05F25D762E3157
42-
sudo add-apt-repository -y ppa:ondrej/php
43-
sudo rm /etc/apt/sources.list.d/google-chrome.list
44-
sudo rm /etc/apt/sources.list.d/mongodb-3.4.list
45-
sudo apt update
46-
sudo apt install -y librabbitmq-dev libsodium-dev
47-
4842
- |
4943
# General configuration
5044
set -e
@@ -117,46 +111,49 @@ before_install:
117111
- |
118112
# Install sigchild-enabled PHP to test the Process component on the lowest PHP matrix line
119113
if [[ ! $deps && $TRAVIS_PHP_VERSION = ${MIN_PHP%.*} && ! -d php-$MIN_PHP/sapi ]]; then
120-
wget http://php.net/get/php-$MIN_PHP.tar.bz2/from/this/mirror -O - | tar -xj &&
121-
(cd php-$MIN_PHP && ./configure --enable-sigchild --enable-pcntl && make -j2)
114+
echo 123
115+
#wget http://php.net/get/php-$MIN_PHP.tar.bz2/from/this/mirror -O - | tar -xj &&
116+
#(cd php-$MIN_PHP && ./configure --enable-sigchild --enable-pcntl && make -j2)
122117
fi
123118
124119
- |
125120
# php.ini configuration
121+
(
122+
for PHP in $TRAVIS_PHP_VERSION $php_extra; do
123+
phpenv global $PHP 2>/dev/null || (cd / && wget https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/18.04/x86_64/php-$PHP.tar.bz2 -O - | tar -xj) &
124+
done
125+
wait
126+
)
126127
for PHP in $TRAVIS_PHP_VERSION $php_extra; do
127-
phpenv global $PHP 2>/dev/null || (cd / && wget https://storage.googleapis.com/travis-ci-language-archives/php/binaries/ubuntu/16.04/x86_64/php-$PHP.tar.bz2 -O - | tar -xj)
128128
INI=~/.phpenv/versions/$PHP/etc/conf.d/travis.ini
129129
echo date.timezone = Europe/Paris >> $INI
130130
echo memory_limit = -1 >> $INI
131131
echo default_socket_timeout = 10 >> $INI
132132
echo session.gc_probability = 0 >> $INI
133133
echo opcache.enable_cli = 1 >> $INI
134134
echo apc.enable_cli = 1 >> $INI
135-
if [[ $PHP != 8.* ]]; then
136-
echo extension = memcached.so >> $INI
137-
fi
138135
done
139136
find ~/.phpenv -name xdebug.ini -delete
140137
138+
composer self-update
139+
composer self-update --2
140+
141141
- |
142142
# Install extra PHP extensions
143143
for PHP in $TRAVIS_PHP_VERSION $php_extra; do
144144
export PHP=$PHP
145145
phpenv global $PHP
146-
composer self-update
147-
composer self-update --2
148146
INI=~/.phpenv/versions/$PHP/etc/conf.d/travis.ini
149147
if ! php --ri sodium > /dev/null; then
150148
tfold ext.libsodium tpecl libsodium sodium.so $INI
151149
fi
152-
if [[ $PHP = 8.* ]]; then
153-
tfold ext.memcached tpecl memcached-3.1.5 memcached.so $INI
154-
else
150+
tfold ext.memcached tpecl memcached-3.1.5 memcached.so $INI
151+
if [[ $PHP != 8.* ]]; then
155152
tfold ext.zookeeper tpecl zookeeper-0.7.2 zookeeper.so $INI
156153
tfold ext.amqp tpecl amqp-1.10.2 amqp.so $INI
157154
fi
158155
159-
tfold ext.mongodb tpecl mongodb-1.9.0 mongodb.so $INI
156+
#tfold ext.mongodb tpecl mongodb-1.9.0 mongodb.so $INI
160157
tfold ext.apcu tpecl apcu-5.1.19 apcu.so $INI
161158
tfold ext.igbinary tpecl igbinary-3.1.6 igbinary.so $INI
162159
tfold ext.redis tpecl redis-5.2.3 redis.so $INI "no"

0 commit comments

Comments
0 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.