Skip to content

Commit

Permalink
enable PHPunit tests for PHP 5.2 and 5.3
Browse files Browse the repository at this point in the history
  • Loading branch information
uwetews committed Oct 18, 2017
1 parent e4f41ad commit 19ebab9
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 8 deletions.
21 changes: 13 additions & 8 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,18 @@ sudo: true

dist: trusty

php:
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- 7.2

matrix:
include:
- php: 5.2
dist: precise
- php: 5.3
dist: precise
- php: 5.4
- php: 5.5
- php: 5.6
- php: 7.0
- php: 7.1
- php: 7.2

services:
- memcached
Expand All @@ -21,6 +25,7 @@ services:
before_script:
- if [ ${TRAVIS_PHP_VERSION:0:3} != "5.2" ]; then travis_retry composer --prefer-source --dev install; fi
- if [ ${TRAVIS_PHP_VERSION:0:3} <= "5.6" ]; then phpenv config-add travis.ini; fi
- if [ ${TRAVIS_PHP_VERSION:0:3} >= "5.3" ]; then phpenv config-add error_reporting.ini; fi
- if [[ $TRAVIS_PHP_VERSION = 7.* ]]; then composer require phpunit/phpunit 6.4.1; fi
- composer install
- mysql -e "create database IF NOT EXISTS test;" -uroot
Expand Down
File renamed without changes.

0 comments on commit 19ebab9

Please sign in to comment.