Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
e4edd4c
API-592: Handle error when the response is a redirection
LaurentPetard Apr 5, 2018
46c4609
Merge pull request #127 from akeneo/API-592
LaurentPetard Apr 6, 2018
b5c9588
Merge branch '1.0' into merge-10-into-20
LaurentPetard Apr 6, 2018
8bb6b63
Merge pull request #128 from akeneo/merge-10-into-20
LaurentPetard Apr 6, 2018
a32d5f6
API-599: replace integration tests by end-to-end tests
Doodoune Apr 27, 2018
591fa0b
API-599: change jenkinsfile to launch end-to-end tests
LaurentPetard Apr 27, 2018
a01f91b
API-599: change jenkinsfile to launch end-to-end tests
Doodoune May 2, 2018
d6b25b0
Prepare tag 2.0.1
LaurentPetard Apr 6, 2018
9e640a2
Merge pull request #129 from akeneo/prepare-tag-2-0-1
LaurentPetard May 3, 2018
ebdbde3
Fix changelog
LaurentPetard May 3, 2018
b762f23
Merge pull request #133 from akeneo/fix-changelog
LaurentPetard May 3, 2018
e0dd70d
API-599: add travis
Doodoune May 17, 2018
f82bfe6
API-599: fix composer install by deleting composer.lock and add docum…
ahocquard May 18, 2018
c650a6d
API-599: fix composer install by deleting composer.lock and add docum…
ahocquard May 18, 2018
e3c6d8c
API-599: correct tests
Doodoune May 22, 2018
80f889d
API-599: fix const not supported by PHP 5.6
Doodoune May 23, 2018
44ed422
Merge pull request #132 from akeneo/API-599
Doodoune May 23, 2018
8e34af3
Merge branch '1.0' into merge_10_in_20
Doodoune May 23, 2018
ad5df51
Merge 1.0 into 2.0: remove old tests
Doodoune May 23, 2018
8294c6a
Having a common changelog between versions
Doodoune May 23, 2018
a50200f
Merge pull request #135 from akeneo/common_changelog
Doodoune May 23, 2018
d9dff04
Merge branch '1.0' into merge_10_in_20
Doodoune May 23, 2018
cd08986
Merge common_changelog
Doodoune May 23, 2018
03479e4
Merge pull request #134 from akeneo/merge_10_in_20
Doodoune May 23, 2018
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
694 changes: 0 additions & 694 deletions .ci/Jenkinsfile

This file was deleted.

22 changes: 0 additions & 22 deletions .ci/akeneo.conf

This file was deleted.

111 changes: 0 additions & 111 deletions .ci/k8s/pim_17_ce.yaml

This file was deleted.

147 changes: 0 additions & 147 deletions .ci/k8s/pim_20_ce.yaml

This file was deleted.

30 changes: 30 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
language: php

php:
- 5.6
- 7.0
- 7.1

sudo: false

cache:
directories:
- $HOME/.composer/cache/files

before_install:
- phpenv config-rm xdebug.ini
- phpenv config-add travis.php.ini
- echo -e "Host github.com\n\tStrictHostKeyChecking no\n" >> ~/.ssh/config
- composer self-update --no-interaction

install:
- composer require php-http/guzzle6-adapter
- composer install --prefer-dist --no-interaction

script:
- bin/php-cs-fixer fix --diff --dry-run --config=.php_cs.php -vvv
- bin/phpspec run --no-interaction
- php -d error_reporting="E_ALL" bin/phpunit -c phpunit.xml.dist

notifications:
email: false
18 changes: 18 additions & 0 deletions CHANGELOG-2.0.md → CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# 2.0.1 (2018-05-03)

## Improvements

- API-592: Handle error when the response is a redirection

# 2.0.0 (2018-02-15)

## Improvements
Expand All @@ -10,3 +16,15 @@

- Change the constructor of `Akeneo\Pim\ApiClient\Api\ProductMediaFileApi` to add `Akeneo\Pim\ApiClient\FileSystem\FileSystemInterface`
- Add method `Akeneo\Pim\ApiClient\Api\AttributeOptionApiInterface::upsertList`

# 1.0.x

## Bug Fixes

- API-599: fix const not supported by PHP 5.6

# 1.0.1 (2018-04-05)

## Improvements

- API-592: Handle error when the response is a redirection (https://github.com/akeneo/api-php-client/issues/72)
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,20 @@ $client->getProductApi()->upsertList([
]);
```

## Testing

Do note that you have to delete the `composer.lock` because Doctrine dependencies are loaded.
These dependencies are different in function of the PHP version running `composer install`.

```
cp docker-compose.yml.dist docker-compose.yml
rm -rf composer.lock vendor/
docker-compose run client_56 composer install
docker-compose run client_56 bin/phpunit -c phpunit.xml.dist
docker-compose run client_56 bin/phpspec run
docker-compose run client_56 bin/php-cs-fixer fix --diff --dry-run --config=.php_cs.php -vvv
```

## Support

The support of this client is made in best effort by our Akeneo team.
Expand Down
3 changes: 2 additions & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,8 @@
"friendsofphp/php-cs-fixer": "^v2.3",
"phpunit/phpunit": "5.7.*",
"phpspec/phpspec": "3.2.*",
"symfony/yaml": "^3.3"
"symfony/yaml": "^3.3",
"donatj/mock-webserver": "^2.0"
},
"config": {
"bin-dir": "bin"
Expand Down
Loading