language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6
  - 7

# lock distro so new future defaults will not break the build
dist: precise

# also test against HHVM, but require "trusty" and ignore errors
matrix:
  include:
    - php: hhvm
      dist: trusty
  allow_failures:
    - php: hhvm

sudo: true

env:
  - QUASSEL_HOST=127.0.0.1:4242

install:
  - sudo apt-get -qq update && sudo apt-get --no-install-recommends -qq install -y quassel-core
  - composer install --no-interaction

script:
  - sudo /etc/init.d/quasselcore status || sudo /etc/init.d/quasselcore start
  - sudo /etc/init.d/quasselcore status || sleep 2
  - vendor/bin/phpunit --coverage-text

language: php

php:
# - 5.3 # requires old distro, see below
  - 5.4
  - 5.5
  - 5.6
  - 7
  - hhvm # ignore errors, see below

# lock distro so new future defaults will not break the build
dist: trusty

matrix:
  include:
    - php: 5.3
      dist: precise
  allow_failures:
    - php: hhvm

sudo: true

env:
  - QUASSEL_HOST=127.0.0.1:4242

install:
  - sudo apt-get -qq update && sudo apt-get --no-install-recommends -qq install -y quassel-core
  - composer install --no-interaction

script:
  - sudo /etc/init.d/quasselcore status || sudo /etc/init.d/quasselcore start
  - sudo /etc/init.d/quasselcore status || sleep 2
  - vendor/bin/phpunit --coverage-text

Update Travis distro to precise, except for legacy PHP
Update Travis distro to precise, except for legacy PHP
