Skip to content

Commit 82b733f

Browse files
authored
Merge branch 'master' into delete-product-model
2 parents 28a9a25 + bb9ef91 commit 82b733f

File tree

5 files changed

+112
-29
lines changed

5 files changed

+112
-29
lines changed

.circleci/config.yml

Lines changed: 86 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,86 @@
1+
version: 2.1
2+
3+
jobs:
4+
build:
5+
docker:
6+
- image: akeneo/php:7.2
7+
steps:
8+
- checkout
9+
- run: composer install
10+
- persist_to_workspace:
11+
root: ~/
12+
paths:
13+
- project
14+
15+
test_php:
16+
docker:
17+
- image: akeneo/php:7.2
18+
steps:
19+
- attach_workspace:
20+
at: ~/
21+
- run: bin/phpunit -c phpunit.xml.dist
22+
- run: bin/phpspec run
23+
24+
test_php_code_style:
25+
docker:
26+
- image: akeneo/php:7.2
27+
steps:
28+
- attach_workspace:
29+
at: ~/
30+
- run: bin/php-cs-fixer fix --diff --dry-run --config=.php_cs.php -vvv
31+
32+
workflow_success:
33+
docker:
34+
- image: akeneo/php:7.2
35+
steps:
36+
- run:
37+
name: Success
38+
command: echo "The build has run with success! Let's merge :)"
39+
40+
workflows:
41+
pull_request:
42+
jobs:
43+
- wait_for_user_approval:
44+
type: approval
45+
filters:
46+
branches:
47+
ignore:
48+
- master
49+
- build:
50+
requires:
51+
- wait_for_user_approval
52+
- test_php:
53+
requires:
54+
- build
55+
- test_php_code_style:
56+
requires:
57+
- build
58+
- workflow_success:
59+
requires:
60+
- test_php
61+
- test_php_code_style
62+
63+
after_merge:
64+
jobs:
65+
- build:
66+
filters:
67+
branches:
68+
only:
69+
- master
70+
- test_php:
71+
requires:
72+
- build
73+
- test_php_code_style:
74+
requires:
75+
- build
76+
77+
nightly:
78+
when:
79+
and:
80+
- equal: [ scheduled_pipeline, << pipeline.trigger_source >> ]
81+
- equal: [ "nightly_master", << pipeline.schedule.name >> ]
82+
jobs:
83+
- build
84+
- test_php:
85+
requires:
86+
- build

.travis.yml

Lines changed: 0 additions & 27 deletions
This file was deleted.

CONTRIBUTING.md

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
# Contributing
2+
3+
Want to do your bit for our PHP client? All contributions are warmly welcomed!
4+
5+
## Contribution process
6+
7+
First and foremost, please accept and sign our [Contributor License Agreement](https://www.akeneo.com/contributor-license-agreement/).
8+
9+
And then, do your magic :
10+
* Fork our repository
11+
* Create a branch (choose a descriptive name)
12+
* Work on your own code (don't forget to add necessessaries tests)
13+
* Commit your branch and submit a pull request to our projet
14+
15+
At this moment, the ball is in our court: we will check your PR and add comments or suggestions if needed.
16+
17+
When everything is ok, we merge your work.
18+
19+
Congratulations, you are officially a contributor to our dear PHP client!

README.md

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Matrix compatibility:
1010
| v2.1 - v2.2 | v2.0 | March 2019 | [![Build Status](https://travis-ci.org/akeneo/api-php-client.svg?branch=2.0)](https://travis-ci.org/akeneo/api-php-client) |
1111
| v2.3 | v3.0 | December 2019 | [![Build Status](https://travis-ci.org/akeneo/api-php-client.svg?branch=3.0)](https://travis-ci.org/akeneo/api-php-client) |
1212
| v3.0 | v4.0 | August 2020 | [![Build Status](https://travis-ci.org/akeneo/api-php-client.svg?branch=4.0)](https://travis-ci.org/akeneo/api-php-client) |
13-
| - | master | - | [![Build Status](https://travis-ci.org/akeneo/api-php-client.svg?branch=master)](https://travis-ci.org/akeneo/api-php-client)|
13+
| - | master | - | [![CircleCI](https://circleci.com/gh/akeneo/api-php-client/tree/master.svg?style=svg)](https://circleci.com/gh/akeneo/api-php-client/tree/master)|
1414

1515
Note that our PHP client is backward compatible.
1616
For example, if your PIM is currently a v2.3, you can still use a 1.0 version of the PHP client. The new endpoints available in v2.3 will not be available in the v1.0 of the PHP client.
@@ -161,3 +161,9 @@ The support of this client is made in best effort by our Akeneo team.
161161

162162
If you find a bug or want to submit an improvement, don't hesitate to raise an issue on Github.
163163
Also, you can ask questions and discuss about the PHP client with the community in the [Slack User Group](https://akeneopim-ug.slack.com/messages/web-api/).
164+
165+
## Contributing
166+
167+
As this PHP client is an open-source project, all contributions are very welcome!
168+
169+
For more information, please consult [the contributing section](CONTRIBUTING.md)

travis.php.ini

Lines changed: 0 additions & 1 deletion
This file was deleted.

0 commit comments

Comments
 (0)