summaryrefslogtreecommitdiff
path: root/.travis.yml
diff options
context:
space:
mode:
authorUwe Tews <uwe.tews@gmail.com>2018-04-24 12:37:01 +0200
committerUwe Tews <uwe.tews@gmail.com>2018-04-24 12:37:01 +0200
commit20c3f70379978153557cf63d05df4b21b477dfc2 (patch)
tree10edb9db41864ec6ffb703c137e532f85aa1915a /.travis.yml
parentc95d3f3a4d088dae2c62d713c5fb86bfc226dbed (diff)
downloadsmarty-20c3f70379978153557cf63d05df4b21b477dfc2.tar.gz
smarty-20c3f70379978153557cf63d05df4b21b477dfc2.tar.bz2
smarty-20c3f70379978153557cf63d05df4b21b477dfc2.zip
update .travis.yml
Diffstat (limited to '.travis.yml')
-rw-r--r--.travis.yml9
1 files changed, 5 insertions, 4 deletions
diff --git a/.travis.yml b/.travis.yml
index 1dc83909..0378de05 100644
--- a/.travis.yml
+++ b/.travis.yml
@@ -1,20 +1,21 @@
language: php
-sudo: true
+sudo: false
dist: trusty
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: nightly
+ fast_finish: true
services:
- 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.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
before_install:
- phpenv config-rm xdebug.ini || return 0
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:
- cd smarty-phpunit