Changes to get older and newer tests running
This commit is contained in:
parent
ac0903530a
commit
5d7000bf8a
1 changed files with 19 additions and 11 deletions
30
.travis.yml
30
.travis.yml
|
@ -1,24 +1,32 @@
|
|||
language: php
|
||||
dist: trusty
|
||||
sudo: required
|
||||
|
||||
php:
|
||||
- 5.3
|
||||
- 5.4
|
||||
- 5.5
|
||||
- 5.6
|
||||
- 7.0
|
||||
- 7.1
|
||||
- 7.2
|
||||
- hhvm
|
||||
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: hhvm
|
||||
env: HHVM=true
|
||||
|
||||
install:
|
||||
- composer install
|
||||
- if [[ $HHVM == true ]]; then composer require "phpunit/phpunit:5.7"; fi
|
||||
|
||||
before_script:
|
||||
- mkdir -p build/logs
|
||||
- cd tests
|
||||
|
||||
script:
|
||||
- phpunit --colors --coverage-clover /home/travis/build/joshtronic/php-projecthoneypot/build/logs/clover.xml .
|
||||
- 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
|
||||
|
||||
after_success:
|
||||
- php ../vendor/bin/coveralls --config ../.coveralls.yml -v
|
||||
- cd ..
|
||||
- php vendor/bin/coveralls --config .coveralls.yml -v
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue