language: php sudo: true dist: trusty php: - 5.4 - 5.5 - 5.6 - 7.0 - 7.1 services: - memcached - mysql 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 - mysql -e "create database IF NOT EXISTS test;" -uroot install: - git clone --depth=50 --branch=master git://github.com/smarty-php/smarty-phpunit.git script: - cd smarty-phpunit - phpunit ./