Skip to content
This repository has been archived by the owner on Jan 9, 2023. It is now read-only.

Addes fixes for ISSUE #12 #14

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 4 additions & 5 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
language: php

cache:
directories:
- src/vendor/
Expand All @@ -8,13 +8,12 @@ cache:
php:
- 5.6
- 7.0

before_script:
- cd src/
- composer config --global http-basic.repo.magento.com $COMPOSER_MAGENTO_USERNAME $COMPOSER_MAGENTO_PASSWORD
- composer config --global --auth http-basic.repo.magento.com $COMPOSER_MAGENTO_USERNAME $COMPOSER_MAGENTO_PASSWORD
- composer self-update
- composer install --prefer-source --no-interaction --dev --no-scripts

script:
- phpunit --coverage-clover "coverage.xml" -c dev/tests/unit/phpunit.xml

Expand Down
4 changes: 2 additions & 2 deletions src/composer.json → composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,9 +24,9 @@
"friendsofphp/php-cs-fixer": "~1.10"
},
"autoload": {
"files": [ "registration.php" ],
"files": [ "src/registration.php" ],
"psr-4": {
"Meanbee\\MagentoRoyalmail\\": ""
"Meanbee\\MagentoRoyalmail\\": "src/"
}
},
"authors": [
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ appdata:
image: tianon/true
volumes:
- ./magento:/var/www/magento
- ./:/src
- ./:./src
- ~/.composer/cache:/root/.composer/cache

fpm:
Expand Down