diff options
author | sapics <gv.nishino@gmail.com> | 2020-04-13 05:14:05 +0200 |
---|---|---|
committer | sapics <gv.nishino@gmail.com> | 2020-04-13 09:08:04 +0200 |
commit | 608bdc09ed9d30ecc530f418523615cb0b4d81d9 (patch) | |
tree | 6d721dde321914e0a8b5dac025fd188d47c4aa0d /.travis.yml | |
parent | 1428072599798395b04a545cfe483707cd2aaaca (diff) |
Update Ubuntu from Trusty to Xenial on Travis
PHP7.4+ have less updates in Trusty on Travis
Diffstat (limited to '.travis.yml')
-rw-r--r-- | .travis.yml | 87 |
1 files changed, 65 insertions, 22 deletions
diff --git a/.travis.yml b/.travis.yml index 8525d5f6c..b79543117 100644 --- a/.travis.yml +++ b/.travis.yml @@ -1,20 +1,17 @@ language: php -dist: trusty +os: linux +dist: xenial php: - - 5.4 - - 5.5 - 5.6 - 7.0 - 7.1 - 7.2 - 7.3 - - 7.4snapshot + - 7.4 - nightly - - hhvm-3.30 - + env: - - DB=mysql - DB=mysqli - DB=pgsql - DB=sqlite @@ -22,7 +19,9 @@ env: - DB=pdo/pgsql - DB=pdo/sqlite -sudo: false +services: + - mysql + - postgresql before_script: - sh -c "composer install --dev --no-progress" @@ -32,28 +31,72 @@ before_script: script: php -d zend.enable_gc=0 -d date.timezone=UTC -d mbstring.func_overload=7 -d mbstring.internal_encoding=UTF-8 vendor/bin/phpunit --coverage-text --configuration tests/travis/$DB.phpunit.xml -matrix: +jobs: allow_failures: - - php: 7.4snapshot + - php: 7.4 - php: nightly - php: hhvm-3.30 - exclude: - - php: hhvm-3.30 + include: + - php: 5.4 + dist: trusty + env: DB=mysql + - php: 5.4 + dist: trusty + env: DB=mysqli + - php: 5.4 + dist: trusty env: DB=pgsql - - php: hhvm-3.30 + - php: 5.4 + dist: trusty + env: DB=sqlite + - php: 5.4 + dist: trusty + env: DB=pdo/mysql + - php: 5.4 + dist: trusty env: DB=pdo/pgsql - - php: 7.0 + - php: 5.4 + dist: trusty + env: DB=pdo/sqlite + - php: 5.5 + dist: trusty env: DB=mysql - - php: 7.1 - env: DB=mysql - - php: 7.2 - env: DB=mysql - - php: 7.3 - env: DB=mysql - - php: 7.4snapshot + - php: 5.5 + dist: trusty + env: DB=mysqli + - php: 5.5 + dist: trusty + env: DB=pgsql + - php: 5.5 + dist: trusty + env: DB=sqlite + - php: 5.5 + dist: trusty + env: DB=pdo/mysql + - php: 5.5 + dist: trusty + env: DB=pdo/pgsql + - php: 5.5 + dist: trusty + env: DB=pdo/sqlite + - php: 5.6 + dist: xenial env: DB=mysql - - php: nightly + - php: hhvm-3.30 + dist: trusty env: DB=mysql + - php: hhvm-3.30 + dist: trusty + env: DB=mysqli + - php: hhvm-3.30 + dist: trusty + env: DB=sqlite + - php: hhvm-3.30 + dist: trusty + env: DB=pdo/mysql + - php: hhvm-3.30 + dist: trusty + env: DB=pdo/sqlite branches: only: |