PHP 7.3 and more
* Added CI for PHP 7.3 * Dropped CI for HHVM (was running into too many issues out of no where) * Reworked CI distros where I could * Bumped copyright year * Cleaned up the README, fixed spacing, dumped some of the wordiness
This commit is contained in:
parent
24b768a630
commit
e41f4f7630
5 changed files with 45 additions and 51 deletions
21
.travis.yml
21
.travis.yml
|
@ -1,5 +1,5 @@
|
|||
language: php
|
||||
dist: trusty
|
||||
dist: bionic
|
||||
sudo: required
|
||||
|
||||
matrix:
|
||||
|
@ -7,26 +7,33 @@ matrix:
|
|||
- php: 5.3
|
||||
dist: precise
|
||||
- php: 5.4
|
||||
dist: trusty
|
||||
- php: 5.5
|
||||
dist: trusty
|
||||
- php: 5.6
|
||||
dist: trusty
|
||||
- php: 7.0
|
||||
dist: xenial
|
||||
env: PHPUNIT=5.7
|
||||
- php: 7.1
|
||||
- php: 7.2
|
||||
- php: hhvm
|
||||
env: HHVM=true
|
||||
- php: 7.3
|
||||
|
||||
install:
|
||||
- composer install
|
||||
- if [[ $HHVM == true ]]; then composer require "phpunit/phpunit:5.7"; fi
|
||||
- if [[ $PHPUNIT == 5.7 ]]; then composer require "phpunit/phpunit:5.7"; fi
|
||||
|
||||
before_script:
|
||||
- mkdir -p build/logs
|
||||
- cd tests
|
||||
|
||||
script:
|
||||
- if [[ $HHVM == true ]]; then ../vendor/bin/phpunit --colors --coverage-clover ../build/logs/clover.xml .; fi
|
||||
- if [[ $HHVM != true ]]; then phpunit --colors --coverage-clover ../build/logs/clover.xml .; fi
|
||||
|
||||
- |
|
||||
if [[ $PHPUNIT == 5.7 ]]; then
|
||||
../vendor/bin/phpunit --colors --coverage-clover ../build/logs/clover.xml .
|
||||
else
|
||||
phpunit --colors --coverage-clover ../build/logs/clover.xml .
|
||||
fi
|
||||
|
||||
after_success:
|
||||
- cd ..
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue