Skip to content

Commit 213f4ef

Browse files
pierlonwestonruter
authored andcommitted
Temporarily force of Composer v1 in CI (#5543)
1 parent 4cbf9b4 commit 213f4ef

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

.travis.yml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ branches:
3131
- /^\d+\.\d+$/
3232

3333
install:
34+
- travis_retry composer self-update --1
3435
- nvm install
3536
- composer install
3637
- export DEV_LIB_PATH=vendor/xwp/wp-dev-lib/scripts
@@ -86,6 +87,7 @@ jobs:
8687
name: Static analysis (PHP)
8788
php: "7.4"
8889
install:
90+
- travis_retry composer self-update --1
8991
- composer install
9092
script:
9193
- composer analyze
@@ -102,6 +104,7 @@ jobs:
102104
php: "7.4"
103105
env: WP_VERSION=latest DEV_LIB_SKIP=phpcs,eslint,xmllint,phpsyntax,phpunit
104106
install:
107+
- travis_retry composer self-update --1
105108
- nvm install
106109
- composer install
107110
- npm install
@@ -162,6 +165,7 @@ jobs:
162165
php: "5.6"
163166
env: TEST_SKIP_PHPSTAN=1
164167
install:
168+
- travis_retry composer self-update --1
165169
- composer --working-dir=lib/common install
166170
- composer --working-dir=lib/optimizer install
167171
script:
@@ -172,6 +176,7 @@ jobs:
172176
php: "7.4"
173177

174178
install:
179+
- travis_retry composer self-update --1
175180
- composer --working-dir=lib/common install
176181
- composer --working-dir=lib/optimizer install
177182
script:

0 commit comments

Comments
 (0)