mirror of
https://github.com/smarty-php/smarty.git
synced 2025-08-06 11:24:27 +02:00
update .travis.yml
This commit is contained in:
@@ -1,20 +1,21 @@
|
|||||||
|
|
||||||
language: php
|
language: php
|
||||||
|
|
||||||
sudo: true
|
sudo: false
|
||||||
|
|
||||||
dist: trusty
|
dist: trusty
|
||||||
|
|
||||||
matrix:
|
matrix:
|
||||||
include:
|
include:
|
||||||
- php: 5.3
|
- php: 5.3
|
||||||
dist: precise
|
|
||||||
- php: 5.4
|
- php: 5.4
|
||||||
- php: 5.5
|
- php: 5.5
|
||||||
- php: 5.6
|
- php: 5.6
|
||||||
- php: 7.0
|
- php: 7.0
|
||||||
- php: 7.1
|
- php: 7.1
|
||||||
- php: 7.2
|
- php: 7.2
|
||||||
|
- php: nightly
|
||||||
|
fast_finish: true
|
||||||
|
|
||||||
services:
|
services:
|
||||||
- memcached
|
- memcached
|
||||||
@@ -25,14 +26,14 @@ before_script:
|
|||||||
- 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} >= "5.3" ]; then phpenv config-add error_reporting.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
|
- 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
|
- mysql -e "create database IF NOT EXISTS test;" -uroot
|
||||||
|
|
||||||
before_install:
|
before_install:
|
||||||
- phpenv config-rm xdebug.ini || return 0
|
- phpenv config-rm xdebug.ini || return 0
|
||||||
|
|
||||||
install:
|
install:
|
||||||
- git clone --depth=50 --branch=master git://github.com/smarty-php/smarty-phpunit.git
|
- travis_retry composer install
|
||||||
|
- git clone --depth=50 --branch=master git://github.com/smarty-php/smarty-phpunit.git
|
||||||
|
|
||||||
script:
|
script:
|
||||||
- cd smarty-phpunit
|
- cd smarty-phpunit
|
||||||
|
Reference in New Issue
Block a user