language: php

php:
  - 5.5.9
  - 5.5
  - 5.6
  - 7.0
  - hhvm

env:
  global:
    - setup=basic

matrix:
  include:
    - php: 5.5.9
      env: setup=lowest
    - php: 5.5.9
      env: setup=stable

sudo: false

install:
  - if [[ $setup = 'basic' ]]; then travis_retry composer install --no-interaction --prefer-source; fi
  - if [[ $setup = 'stable' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-stable; fi
  - if [[ $setup = 'lowest' ]]; then travis_retry composer update --prefer-source --no-interaction --prefer-lowest --prefer-stable; fi

script:
  - vendor/bin/phpunit tests/classes
  - vendor/bin/phpunit tests/controllers
  - vendor/bin/phpunit tests/helpers
  - vendor/bin/phpunit tests/models
  - vendor/bin/phpunit tests/relationships
  - vendor/bin/phpunit tests/ui
Build script for Travis CI.
Build script for Travis CI.
