Skip to content

Commit 1a53d8e

Browse files
committed
Cleanup
1 parent 40c6651 commit 1a53d8e

File tree

2 files changed

+3
-13
lines changed

2 files changed

+3
-13
lines changed

.travis.yml

+2-8
Original file line numberDiff line numberDiff line change
@@ -13,27 +13,21 @@ php:
1313

1414
env:
1515
global:
16-
- TEST_COMMAND="composer test"
16+
- TEST_COMMAND="./vendor/bin/phpunit"
1717

1818
branches:
1919
except:
2020
- /^patch-.*$/
2121

2222
matrix:
2323
fast_finish: true
24-
allow_failures:
25-
- php: nightly
26-
env: COMPOSER_FLAGS="--ignore-platform-reqs"
2724
include:
2825
- php: 7.2
2926
name: Lowest version of dependencies
30-
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
27+
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="./vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
3128
- php: nightly
3229
name: PHP 8.0
3330

34-
before_install:
35-
- if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
36-
3731
install:
3832
- composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction
3933

composer.json

+1-5
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"description": "A fast PHP7 implementation of PSR-7",
44
"license": "MIT",
55
"keywords": ["psr-7", "psr-17"],
6-
"homepage": "http://tnyholm.se",
6+
"homepage": "https://tnyholm.se",
77
"authors": [
88
{
99
"name": "Tobias Nyholm",
@@ -40,10 +40,6 @@
4040
"Tests\\Nyholm\\Psr7\\": "tests/"
4141
}
4242
},
43-
"scripts": {
44-
"test": "vendor/bin/phpunit",
45-
"test-ci": "vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
46-
},
4743
"extra": {
4844
"branch-alias": {
4945
"dev-master": "1.0-dev"

0 commit comments

Comments
 (0)