This repository has been archived by the owner on Jun 2, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 21
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #60 from pmclain/repo-structure
v2.1.0
- Loading branch information
Showing
147 changed files
with
788 additions
and
213 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 |
---|---|---|
@@ -0,0 +1,5 @@ | ||
.DS_Store | ||
/.idea | ||
|
||
/dev/magento | ||
/dev/composer.env |
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,59 +1,27 @@ | ||
sudo: required | ||
dist: trusty | ||
group: edge | ||
addons: | ||
apt: | ||
packages: | ||
- mysql-server-5.6 | ||
- mysql-client-core-5.6 | ||
- mysql-client-5.6 | ||
- postfix | ||
hosts: | ||
- magento2.travis | ||
language: php | ||
services: | ||
- docker | ||
matrix: | ||
include: | ||
- php: 7.1 | ||
env: | ||
- MAGENTO_VERSION=2.2-develop | ||
- env: | ||
- MAGENTO_VERSION=~2.2 | ||
- TEST_SUITE=unit | ||
- php: 7.1 | ||
env: | ||
- MAGENTO_VERSION=2.2-develop | ||
- env: | ||
- MAGENTO_VERSION=~2.2 | ||
- TEST_SUITE=integration | ||
- php: 7.1 | ||
env: | ||
- MAGENTO_VERSION=2.2.4 | ||
- TEST_SUITE=unit | ||
- php: 7.1 | ||
env: | ||
- MAGENTO_VERSION=2.2.4 | ||
- TEST_SUITE=integration | ||
- php: 7.0 | ||
env: | ||
- MAGENTO_VERSION=2.2-develop | ||
- TEST_SUITE=unit | ||
- php: 7.0 | ||
env: | ||
- MAGENTO_VERSION=2.2-develop | ||
- TEST_SUITE=integration | ||
- php: 7.0 | ||
env: | ||
- MAGENTO_VERSION=2.2.4 | ||
- TEST_SUITE=unit | ||
- php: 7.0 | ||
env: | ||
- MAGENTO_VERSION=2.2.4 | ||
- TEST_SUITE=integration | ||
env: | ||
global: | ||
- COMPOSER_BIN_DIR=~/bin | ||
- STRIPE_MOCK_VERSION=0.5.0 | ||
- COMPOSER_PACKAGE_NAME=pmclain/module-stripe | ||
- env: | ||
- MAGENTO_VERSION=~2.2 | ||
- TEST_SUITE=acceptance | ||
cache: | ||
apt: true | ||
directories: | ||
- $HOME/.composer/cache | ||
- stripe-mock | ||
before_script: ./.travis/before_script.sh | ||
script: phpunit -c magento2/dev/tests/$TEST_SUITE | ||
before_script: | ||
- echo "COMPOSER_MAGENTO_USERNAME=$COMPOSER_MAGENTO_USERNAME" >> dev/composer.env | ||
- echo "COMPOSER_MAGENTO_PASSWORD=$COMPOSER_MAGENTO_PASSWORD" >> dev/composer.env | ||
- echo "COMPOSER_GITHUB_TOKEN=$COMPOSER_GITHUB_TOKEN" >> dev/composer.env | ||
- sed -E -i "s/MAGENTO_VERSION=.*/MAGENTO_VERSION=${MAGENTO_VERSION}/" dev/docker-compose.yml | ||
- docker-compose -f dev/docker-compose.yml build | ||
- docker-compose -f dev/docker-compose.yml up -d | ||
- docker-compose -f dev/docker-compose.yml exec app module-installer | ||
script: | ||
- docker-compose -f dev/docker-compose.yml exec app test-${TEST_SUITE} |
This file was deleted.
Oops, something went wrong.
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
This file was deleted.
Oops, something went wrong.
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
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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
COMPOSER_MAGENTO_USERNAME=0000 | ||
COMPOSER_MAGENTO_PASSWORD=0000 | ||
COMPOSER_GITHUB_TOKEN=0000 |
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 |
---|---|---|
@@ -0,0 +1,86 @@ | ||
version: "3" | ||
services: | ||
web: | ||
build: ./nginx | ||
ports: | ||
- "80:80" | ||
- "443:443" | ||
links: | ||
- app | ||
networks: | ||
default: | ||
aliases: | ||
- stripe.docker | ||
volumes: | ||
- ./magento:/var/www/magento | ||
environment: | ||
- VIRTUAL_HOST=stripe.docker | ||
|
||
app: | ||
build: ./php71 | ||
links: | ||
- db | ||
- redis | ||
- amqp | ||
- mailcatcher | ||
- stripemock | ||
volumes: | ||
- ~/.composer/cache:/root/.composer/cache | ||
- ./magento:/var/www/magento:cached | ||
- ..:/module | ||
env_file: | ||
- ./composer.env | ||
environment: | ||
- PHP_IDE_CONFIG=serverName=stripe.docker | ||
- XDEBUG_ENABLE=true | ||
- MAGENTO_RUN_MODE=developer | ||
- MAGENTO_VERSION=~2.2 | ||
- MAGENTO_URL=https://stripe.docker | ||
|
||
db: | ||
image: mariadb:10 | ||
user: mysql | ||
ports: | ||
- "9306:3306" | ||
volumes: | ||
- dbdata:/var/lib/mysql | ||
environment: | ||
- MYSQL_ROOT_PASSWORD=magento | ||
- MYSQL_DATABASE=magento | ||
- MYSQL_USER=magento | ||
- MYSQL_PASSWORD=magento | ||
|
||
redis: | ||
image: redis | ||
ports: | ||
- 6379 | ||
|
||
amqp: | ||
image: rabbitmq:3-management | ||
ports: | ||
- "15672:15672" | ||
environment: | ||
- RABBITMQ_DEFAULT_USER=guest | ||
- RABBITMQ_DEFAULT_PASSWORD=guest | ||
|
||
mailcatcher: | ||
image: helder/mailcatcher | ||
ports: | ||
- "1080:80" | ||
|
||
chrome: | ||
image: selenium/standalone-chrome-debug | ||
ports: | ||
- "49338:5900" | ||
|
||
stripemock: | ||
image: stripemock/stripe-mock | ||
ports: | ||
- 12111 | ||
- 12112 | ||
|
||
volumes: | ||
dbdata: | ||
|
||
networks: | ||
default: |
Oops, something went wrong.