Skip to content

Commit 83bcf79

Browse files
committed
Simplify test matrix and test setup
1 parent c24f511 commit 83bcf79

File tree

4 files changed

+19
-22
lines changed

4 files changed

+19
-22
lines changed

.travis.yml

Lines changed: 13 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,27 @@
11
language: php
22

3-
php:
4-
# - 5.3 # requires old distro
5-
- 5.4
6-
- 5.5
7-
- 5.6
8-
- 7.0
9-
- 7.1
10-
- 7.2
11-
- 7.3
12-
- 7.4
13-
- nightly # ignore errors, see below
14-
- hhvm # ignore errors, see below
15-
163
# lock distro so new future defaults will not break the build
174
dist: trusty
185

196
matrix:
207
include:
218
- php: 5.3
229
dist: precise
10+
- php: 5.4
11+
- php: 5.5
12+
- php: 5.6
13+
- php: 7.0
14+
- php: 7.1
15+
- php: 7.2
16+
- php: 7.3
17+
- php: 7.4
18+
- php: nightly
19+
- php: hhvm-3.18
20+
install:
21+
- composer require phpunit/phpunit:^5 --dev --no-interaction # requires legacy phpunit
2322
allow_failures:
2423
- php: nightly
25-
- php: hhvm
24+
- php: hhvm-3.18
2625

2726
install:
2827
- composer install --no-interaction

composer.json

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,5 +21,10 @@
2121
"psr-4": {
2222
"React\\HttpClient\\": "src"
2323
}
24+
},
25+
"autoload-dev": {
26+
"psr-4": {
27+
"React\\Tests\\HttpClient\\": "tests"
28+
}
2429
}
2530
}

phpunit.xml.dist

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
convertWarningsToExceptions="true"
99
processIsolation="false"
1010
stopOnFailure="false"
11-
bootstrap="tests/bootstrap.php"
11+
bootstrap="vendor/autoload.php"
1212
>
1313
<testsuites>
1414
<testsuite name="React Test Suite">

tests/bootstrap.php

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

0 commit comments

Comments
 (0)