php-loremipsum/.travis.yml
Josh Sherman f894f3d5cc
Dropped HHVM test
Hoping nobody's mad about it. Too many issues cropping up with trying to get it testing and I'm not familiar enough with it to quickly get it resolved
2019-01-02 23:28:59 -06:00

40 lines
761 B
YAML

language: php
dist: bionic
sudo: required
matrix:
include:
- 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: 7.3
install:
- composer install
- if [[ $PHPUNIT == 5.7 ]]; then composer require "phpunit/phpunit:5.7"; fi
before_script:
- mkdir -p build/logs
- cd tests
script:
- |
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 ..
- php vendor/bin/coveralls --config .coveralls.yml -v