travis: Update build matrix

* Only generate locales on precise
* Pin version of phpcs for PHP 5.3
This commit is contained in:
Markus Frosch 2017-09-19 16:09:06 +02:00 committed by Eric Lippmann
parent c3ef50978a
commit 5ba3ff3c4d

View File

@ -1,6 +1,6 @@
language: php language: php
dist: trusty dist: trusty
sudo: required sudo: false
php: php:
- '5.4' - '5.4'
@ -13,7 +13,10 @@ matrix:
include: include:
- php: '5.3' - php: '5.3'
dist: precise dist: precise
sudo: required
env: env:
- PHPCS_VERSION=2.9.1
- LOCALE_GEN=1
- ENABLE_LDAP=1 - ENABLE_LDAP=1
services: services:
@ -35,7 +38,7 @@ notifications:
# also see: test/setup_vendor.sh # also see: test/setup_vendor.sh
before_script: before_script:
- php -m - php -m
- sudo locale-gen en_US.UTF-8 de_DE.UTF-8 fr_FR.UTF-8 - sh -c '[ -z $LOCALE_GEN ] || sudo locale-gen en_US.UTF-8 de_DE.UTF-8 fr_FR.UTF-8'
- sh -c '[ -z $ENABLE_LDAP ] || phpenv config-add test/travis-ldap.ini' - sh -c '[ -z $ENABLE_LDAP ] || phpenv config-add test/travis-ldap.ini'
- test/travis_database.sh - test/travis_database.sh
- test/setup_vendor.sh - test/setup_vendor.sh