Skip to content

Commit 5018b71

Browse files
committed
Cleanup
1 parent 40c6651 commit 5018b71

File tree

2 files changed

+4
-15
lines changed

2 files changed

+4
-15
lines changed

.travis.yml

+3-10
Original file line numberDiff line numberDiff line change
@@ -10,29 +10,22 @@ php:
1010
- 7.2
1111
- 7.3
1212
- 7.4
13+
- 8.0
1314

1415
env:
1516
global:
16-
- TEST_COMMAND="composer test"
17+
- TEST_COMMAND="./vendor/bin/phpunit"
1718

1819
branches:
1920
except:
2021
- /^patch-.*$/
2122

2223
matrix:
2324
fast_finish: true
24-
allow_failures:
25-
- php: nightly
26-
env: COMPOSER_FLAGS="--ignore-platform-reqs"
2725
include:
2826
- php: 7.2
2927
name: Lowest version of dependencies
30-
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="composer test-ci"
31-
- php: nightly
32-
name: PHP 8.0
33-
34-
before_install:
35-
- if ! [ -v "$DEPENDENCIES" ]; then composer require --no-update ${DEPENDENCIES}; fi;
28+
env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest" COVERAGE=true TEST_COMMAND="./vendor/bin/phpunit --coverage-text --coverage-clover=build/coverage.xml"
3629

3730
install:
3831
- composer update ${COMPOSER_FLAGS} --prefer-source --no-interaction

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)