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 301cc98

Browse filesBrowse files
minor #41570 [travis] fix travis hopefuly (nicolas-grekas)
This PR was merged into the 4.4 branch. Discussion ---------- [travis] fix travis hopefuly | Q | A | ------------- | --- | Branch? | 4.4 | Bug fix? | no | New feature? | no | Deprecations? | no | Tickets | - | License | MIT | Doc PR | - Commits ------- a245efb [travis] fix travis hopefuly
2 parents a850da5 + a245efb commit 301cc98
Copy full SHA for 301cc98

File tree

Expand file treeCollapse file tree

1 file changed

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

1 file changed

+17
-22
lines changed

‎.travis.yml

Copy file name to clipboardExpand all lines: .travis.yml
+17-22Lines changed: 17 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
@@ -123,43 +117,44 @@ before_install:
123117
124118
- |
125119
# php.ini configuration
120+
(
121+
for PHP in $TRAVIS_PHP_VERSION $php_extra; do
122+
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) &
123+
done
124+
wait
125+
)
126126
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)
128127
INI=~/.phpenv/versions/$PHP/etc/conf.d/travis.ini
129128
echo date.timezone = Europe/Paris >> $INI
130129
echo memory_limit = -1 >> $INI
131130
echo default_socket_timeout = 10 >> $INI
132131
echo session.gc_probability = 0 >> $INI
133132
echo opcache.enable_cli = 1 >> $INI
134133
echo apc.enable_cli = 1 >> $INI
135-
if [[ $PHP != 8.* ]]; then
136-
echo extension = memcached.so >> $INI
137-
fi
138134
done
139135
find ~/.phpenv -name xdebug.ini -delete
140136
137+
composer self-update
138+
composer self-update --2
139+
141140
- |
142141
# Install extra PHP extensions
143142
for PHP in $TRAVIS_PHP_VERSION $php_extra; do
144143
export PHP=$PHP
145144
phpenv global $PHP
146-
composer self-update
147-
composer self-update --2
148145
INI=~/.phpenv/versions/$PHP/etc/conf.d/travis.ini
149146
if ! php --ri sodium > /dev/null; then
150147
tfold ext.libsodium tpecl libsodium sodium.so $INI
151148
fi
152-
if [[ $PHP = 8.* ]]; then
153-
tfold ext.memcached tpecl memcached-3.1.5 memcached.so $INI
154-
else
149+
if [[ $PHP != 8.* ]]; then
155150
tfold ext.zookeeper tpecl zookeeper-0.7.2 zookeeper.so $INI
156-
tfold ext.amqp tpecl amqp-1.10.2 amqp.so $INI
157151
fi
158-
159-
tfold ext.mongodb tpecl mongodb-1.9.0 mongodb.so $INI
152+
tfold ext.memcached tpecl memcached-3.1.5 memcached.so $INI
153+
tfold ext.amqp tpecl amqp-1.11.0beta amqp.so $INI
160154
tfold ext.apcu tpecl apcu-5.1.19 apcu.so $INI
161155
tfold ext.igbinary tpecl igbinary-3.1.6 igbinary.so $INI
162156
tfold ext.redis tpecl redis-5.2.3 redis.so $INI "no"
157+
tfold ext.mongodb tpecl mongodb-1.9.1 mongodb.so $INI
163158
done
164159
165160
install:

0 commit comments

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