Skip to content

Commit

Permalink
Merge pull request #151 from clue-labs/tests
Browse files Browse the repository at this point in the history
Simplify test matrix and test setup
  • Loading branch information
WyriHaximus authored Jan 13, 2020
2 parents d753b10 + 83bcf79 commit 233c909
Show file tree
Hide file tree
Showing 4 changed files with 19 additions and 22 deletions.
27 changes: 13 additions & 14 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,28 +1,27 @@
language: php

php:
# - 5.3 # requires old distro
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2
- 7.3
- 7.4
- nightly # ignore errors, see below
- hhvm # ignore errors, see below

# lock distro so new future defaults will not break the build
dist: trusty

matrix:
include:
- php: 5.3
dist: precise
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2
- php: 7.3
- php: 7.4
- php: nightly
- php: hhvm-3.18
install:
- composer require phpunit/phpunit:^5 --dev --no-interaction # requires legacy phpunit
allow_failures:
- php: nightly
- php: hhvm
- php: hhvm-3.18

install:
- composer install --no-interaction
Expand Down
5 changes: 5 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,10 @@
"psr-4": {
"React\\HttpClient\\": "src"
}
},
"autoload-dev": {
"psr-4": {
"React\\Tests\\HttpClient\\": "tests"
}
}
}
2 changes: 1 addition & 1 deletion phpunit.xml.dist
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
convertWarningsToExceptions="true"
processIsolation="false"
stopOnFailure="false"
bootstrap="tests/bootstrap.php"
bootstrap="vendor/autoload.php"
>
<testsuites>
<testsuite name="React Test Suite">
Expand Down
7 changes: 0 additions & 7 deletions tests/bootstrap.php

This file was deleted.

0 comments on commit 233c909

Please sign in to comment.