mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-04 10:24:26 +02:00
Test phpunit 6.4.1
This commit is contained in:
@@ -20,12 +20,11 @@ services:
|
|||||||
before_script:
|
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.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.6" ]; then phpenv config-add travis.ini; fi
|
||||||
- if [ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]; then phpenv config-add myconfig.ini; fi
|
- if [ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]; then composer global require phpunit/phpunit 6.4.1; fi
|
||||||
- mysql -e "create database IF NOT EXISTS test;" -uroot
|
- mysql -e "create database IF NOT EXISTS test;" -uroot
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- git clone --depth=50 --branch=master git://github.com/smarty-php/smarty-phpunit.git
|
- git clone --depth=50 --branch=master git://github.com/smarty-php/smarty-phpunit.git
|
||||||
- if [ ${TRAVIS_PHP_VERSION:0:3} == "7.1" ]; then composer global require phpunit/phpunit 6.4.1; fi
|
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd smarty-phpunit
|
- cd smarty-phpunit
|
||||||
|
Reference in New Issue
Block a user