Skip to content

Commit

Permalink
Merge pull request #10 from spryker-eco/development
Browse files Browse the repository at this point in the history
Compatibility with API PHP Client v1.0.0 - v4.0.0
  • Loading branch information
alex-galych authored Mar 7, 2019
2 parents d54ca78 + ef36ec9 commit b1cf066
Show file tree
Hide file tree
Showing 3 changed files with 32 additions and 23 deletions.
32 changes: 19 additions & 13 deletions .scrutinizer.yml
Original file line number Diff line number Diff line change
@@ -1,18 +1,24 @@
build:
dependencies:
before:
- composer config repositories.spryker composer https://code.spryker.com/repo/private
environment:
php:
version: 7.1
environment:
php: '7.1'

tests:
override:
- true

nodes:
analysis:
tests:
override:
- php-scrutinizer-run

checks:
php:
code_rating: true
php:
code_rating: true

filter:
excluded_paths:
- config/*
- tests/*
- src/Generated/*
- src/Pyz/*
excluded_paths:
- config/*
- tests/*
- src/Generated/*
- src/Pyz/*
7 changes: 5 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,9 @@ env:
- SHOP_DIR=current
- MODULE_NAME=akeneo-pim

before_install:
- phpenv config-rm xdebug.ini

cache:
directories:
- $SHOP_DIR/current/vendor
Expand All @@ -43,5 +46,5 @@ before_install:
- echo "extension = redis.so" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini

script:
- git clone -b master https://github.com/spryker-eco/eco-ci.git ecoci
- ./ecoci/build/travis.sh
- git clone -b 0.2.1 https://github.com/spryker-eco/eco-ci.git ecoci
- ./ecoci/build/travis.sh
16 changes: 8 additions & 8 deletions composer.json
Original file line number Diff line number Diff line change
@@ -1,23 +1,23 @@
{
"name": "spryker-eco/akeneo-pim",
"description": "AkeneoPim module",
"license": "MIT",
"require": {
"php": ">=7.1",
"spryker/kernel": "^3.0.0",
"akeneo/api-php-client": "^1.0.0",
"akeneo/api-php-client": "^1.0.0 || ^2.0.0 || ^3.0.0 || ^4.0.0",
"php-http/guzzle6-adapter": "^1.0.0"
},
"minimum-stability": "dev",
"prefer-stable": true,
"autoload": {
"psr-0": {
"SprykerEco": "src/",
"Function": "tests/"
"psr-4": {
"SprykerEco\\": "src/SprykerEco/"
}
},
"minimum-stability": "dev",
"autoload-dev": {
"psr-0": {
"Functional": "tests/",
"Unit": "tests/"
"psr-4": {
"SprykerEcoTest\\": "tests/SprykerEcoTest/"
}
}
}

0 comments on commit b1cf066

Please sign in to comment.