Skip to content

Commit 192a2aa

Browse files
committed
Use Fooman-mirror for Travis installation to avoid requiring credentials (see https://fooman.com/blog/no-authentication-needed-magento-2-mirror.html and #51)
1 parent bc70f62 commit 192a2aa

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

Diff for: .travis.yml

+4
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,10 @@ jobs:
1212
env: M2_VERSION=2.3.6-p1
1313
- php: 7.3
1414
env: M2_VERSION=2.3.5
15+
- php: 7.3
16+
env: M2_VERSION=2.3.4
17+
- php: 7.3
18+
env: M2_VERSION=2.3.3
1519
cache:
1620
directories:
1721
- $HOME/.composer/cache

Diff for: dev/ci/build.sh

+2-8
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,7 @@ fi
1818
for envkey in \
1919
MODULE_NAME \
2020
MODULE_SRC_DIR \
21-
M2_VERSION \
22-
M2_REPO_USERNAME \
23-
M2_REPO_PASSWORD
21+
M2_VERSION
2422
do
2523
if [ -z "$(eval echo \$$envkey)" ]
2624
then
@@ -40,17 +38,13 @@ then
4038
MODULE_DST_DIR="$BUILD_DIR/app/code/$(echo $MODULE_NAME | sed 's/_/\//')"
4139
fi
4240

43-
# Set composer authentication params
44-
"$COMPOSER_BIN" config --global \
45-
"http-basic.repo.magento.com" "$M2_REPO_USERNAME" "$M2_REPO_PASSWORD"
46-
4741
set -x
4842

4943
# Fetch Magento 2 source
5044
"$COMPOSER_BIN" create-project \
5145
--quiet \
5246
--ignore-platform-reqs \
53-
--repository-url=https://repo.magento.com/ \
47+
--repository-url=https://repo-magento-mirror.fooman.co.nz/ \
5448
magento/project-community-edition \
5549
"$BUILD_DIR" "$M2_VERSION"
5650

0 commit comments

Comments
 (0)