language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6

env:
  - SYMFONY_VERSION="2.3.*"
  - SYMFONY_VERSION="2.4.*"
  - SYMFONY_VERSION="2.5.*"
  - SYMFONY_VERSION="2.6.*"

before_script:
  - composer require symfony/http-kernel:${SYMFONY_VERSION}

script:
  - phpunit

branches:
  only:
    - master

language: php

php:
  - 5.3
  - 5.4
  - 5.5
  - 5.6

env:
  - SYMFONY_VERSION="2.3.*"
  - SYMFONY_VERSION="2.4.*"
  - SYMFONY_VERSION="2.5.*"
  - SYMFONY_VERSION="2.6.*"

before_script:
  - composer require symfony/http-kernel:${SYMFONY_VERSION}
  - if [[ "$SYMFONY_VERSION" == "2.3.*" ]]; then composer update --prefer-lowest; fi

script:
  - phpunit

branches:
  only:
    - master

Use prefer-lowest when running against 2.3
Use prefer-lowest when running against 2.3
