language: php

php:
  - 5.6
  - 7

env:
  - SYMFONY_VERSION=2.3.*
  - SYMFONY_VERSION=2.7.*
  - SYMFONY_VERSION=2.8.*
  - SYMFONY_VERSION=3.0.*
      
branches:
  only:
    - master

before_script:
  # disable xdebug
  - phpenv config-rm xdebug.ini
  - wget http://getcomposer.org/composer.phar
  - php composer.phar require symfony/dependency-injection:${SYMFONY_VERSION} --no-update
  - php composer.phar install

script:
  - vendor/bin/coke
  - vendor/bin/atoum

language: php

php:
  - 7

env:
  - SYMFONY_VERSION=2.3.*
  - SYMFONY_VERSION=2.7.*
  - SYMFONY_VERSION=2.8.*
  - SYMFONY_VERSION=3.0.*
      
branches:
  only:
    - master

before_script:
  # disable xdebug
  - phpenv config-rm xdebug.ini
  - wget http://getcomposer.org/composer.phar
  - php composer.phar require symfony/dependency-injection:${SYMFONY_VERSION} --no-update
  - php composer.phar install

script:
  - vendor/bin/coke
  - vendor/bin/atoum

Drop tests for php 5.6.
Drop tests for php 5.6.
