Skip to content

Commit 5d00afe

Browse files
authored
Support client-common 2.0 (#31)
* Support client-common 2.0 * minors * Added prefer stable and min-stab: deb
1 parent 66d646b commit 5d00afe

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

.travis.yml

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,8 @@ php:
1111
- 5.6
1212
- 7.0
1313
- 7.1
14+
- 7.2
15+
- 7.3
1416

1517
env:
1618
global:
@@ -32,7 +34,7 @@ before_install:
3234
install:
3335
# To be removed when this issue will be resolved: https://github.com/composer/composer/issues/5355
3436
- if [[ "$COMPOSER_FLAGS" == *"--prefer-lowest"* ]]; then travis_retry composer update --prefer-dist --no-interaction --prefer-stable --quiet; fi
35-
- travis_retry composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
37+
- composer update ${COMPOSER_FLAGS} --prefer-dist --no-interaction
3638

3739
script:
3840
- $TEST_COMMAND

composer.json

Lines changed: 5 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"require": {
1414
"php": "^5.5 || ^7.0",
1515
"php-http/httplug": "^1.0",
16-
"php-http/client-common": "^1.1",
16+
"php-http/client-common": "^1.1 || ^2.0",
1717
"php-http/discovery": "^1.0",
1818
"php-http/message-factory": "^1.0"
1919
},
@@ -36,7 +36,9 @@
3636
},
3737
"extra": {
3838
"branch-alias": {
39-
"dev-master": "1.1-dev"
39+
"dev-master": "1.2-dev"
4040
}
41-
}
41+
},
42+
"prefer-stable": true,
43+
"minimum-stability": "dev"
4244
}

0 commit comments

Comments
 (0)