language: php

php: [5.3, 5.4, 5.5, hhvm]

branches:
  except:
    - /^bugfix\/.*$/
    - /^feature\/.*$/
    - /^optimization\/.*$/

matrix:
  allow_failures:
    - php: hhvm
  exclude:
    - php: hhvm
      env: SYMFONY_VERSION='2.1.*'
    - php: hhvm
      env: SYMFONY_VERSION='2.2.*'
    - php: hhvm
      env: SYMFONY_VERSION='2.3.*'

env:
  - SYMFONY_VERSION='2.1.*'
  - SYMFONY_VERSION='2.2.*'
  - SYMFONY_VERSION='2.3.*'
  - SYMFONY_VERSION='2.4.*'

before_script:
  - composer require --no-update symfony/symfony=$SYMFONY_VERSION
  - composer install --dev --prefer-source
  - export PATH=./bin:$PATH
  - echo "<?php echo '@php5' . implode(',@php5.', range(3, PHP_MINOR_VERSION));" > php_version_tags.php

script:
  - phpunit
  - behat -fprogress --strict --tags '~@php-version,'`php php_version_tags.php`

language: php

php: [5.3, 5.4, 5.5, hhvm]

branches:
  except:
    - /^bugfix\/.*$/
    - /^feature\/.*$/
    - /^optimization\/.*$/

matrix:
  allow_failures:
    - php: hhvm
  exclude:
    - php: hhvm
      env: SYMFONY_VERSION='2.1.*'
    - php: hhvm
      env: SYMFONY_VERSION='2.2.*'
    - php: hhvm
      env: SYMFONY_VERSION='2.3.*'
  include:
    - php: 5.3.3
      env: SYMFONY_VERSION='2.4.*'

env:
  - SYMFONY_VERSION='2.1.*'
  - SYMFONY_VERSION='2.2.*'
  - SYMFONY_VERSION='2.3.*'
  - SYMFONY_VERSION='2.4.*'

before_script:
  - composer require --no-update symfony/symfony=$SYMFONY_VERSION
  - composer install --dev --prefer-source
  - export PATH=./bin:$PATH
  - echo "<?php echo '@php5' . implode(',@php5.', range(3, PHP_MINOR_VERSION));" > php_version_tags.php

script:
  - phpunit
  - behat -fprogress --strict --tags '~@php-version,'`php php_version_tags.php`

Add php 5.3.3 to build matrix
Add php 5.3.3 to build matrix
