-
Notifications
You must be signed in to change notification settings - Fork 37
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Migrate Travis CI scripts to Fooman mirrors (#54)
* Use Fooman-mirror for Travis installation to avoid requiring credentials (see https://fooman.com/blog/no-authentication-needed-magento-2-mirror.html and #51) * Use --add-repository CLI flag to stick to fooman mirror * Stick to https://repo-magento-mirror.fooman.co.nz/ mirror on installation * Downgrade to composer v1 in Travis job matrix * Downgrade to composer v1 in Travis job matrix * Install dev-dependencies in 2nd step * Work around memory limit * Set composer version in environment variable * Use latest versions of 2.3.3, 2.3.4, and 2.3.5 * Remove pre-2.3.6 Magento versions from Travis CI matrix
- Loading branch information
Showing
2 changed files
with
31 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,19 +1,33 @@ | ||
language: php | ||
php: | ||
- 7.4 | ||
- 7.3 | ||
|
||
env: | ||
- M2_VERSION=2.4.2 | ||
- M2_VERSION=2.4.1 | ||
- M2_VERSION=2.4.0 | ||
global: | ||
- COMPOSER_MEMORY_LIMIT=-1 | ||
- COMPOSER_CHANNEL=stable | ||
|
||
jobs: | ||
include: | ||
- php: 7.4 | ||
env: M2_VERSION=2.4.2 | ||
- php: 7.4 | ||
env: M2_VERSION=2.4.1-p1 COMPOSER_CHANNEL=1 | ||
- php: 7.4 | ||
env: M2_VERSION=2.4.0-p1 COMPOSER_CHANNEL=1 | ||
- php: 7.3 | ||
env: M2_VERSION=2.3.6-p1 | ||
env: M2_VERSION=2.4.2 | ||
- php: 7.3 | ||
env: M2_VERSION=2.3.5 | ||
env: M2_VERSION=2.4.1-p1 COMPOSER_CHANNEL=1 | ||
- php: 7.3 | ||
env: M2_VERSION=2.4.0-p1 COMPOSER_CHANNEL=1 | ||
- php: 7.3 | ||
env: M2_VERSION=2.3.6-p1 COMPOSER_CHANNEL=1 | ||
|
||
before_install: | ||
- composer --verbose self-update --$COMPOSER_CHANNEL | ||
|
||
cache: | ||
directories: | ||
- $HOME/.composer/cache | ||
|
||
script: | ||
- dev/ci/build.sh |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters