language: php

env:
    - SYMFONY_DEPS_VERSION=2.1
    - SYMFONY_DEPS_VERSION=2.2

before_script:
    # symfony/*
    - sh -c "if [ '$SYMFONY_DEPS_VERSION' = '2.2' ]; then sed -i 's/>=2.1,<2.3-dev/2.2.*@dev/g' composer.json; composer update --dev --prefer-source; fi"
    - composer install --dev --prefer-source

php:
  - 5.3
  - 5.4
  - 5.5

language: php

env:
    - SYMFONY_DEPS_VERSION=2.1
    - SYMFONY_DEPS_VERSION=2.2

before_script:
    # symfony/*
    - sh -c "if [ '$SYMFONY_DEPS_VERSION' = '2.2' ]; then sed -i 's/>=2.1,<2.3-dev/2.2.*@dev/g' composer.json; composer require --no-update 'symfony/property-access:2.2.*@dev'; composer update --dev --prefer-source; fi"
    - composer install --dev --prefer-source

php:
  - 5.3
  - 5.4
  - 5.5

Add symfony/property-access require for 2.2
Add symfony/property-access require for 2.2

This gives an actual good version of symfony/form instead of some old beta.
