language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0

before_script:
  - composer self-update
  - composer install -n
  # Parameters
  - cp -a app/config/parameters.yml{.dist,}
  - sed 's/your_base_url/http:\/\/localhost:8000\/app_test.php/' behat.yml-dist > behat.yml
  # Database
  - app/console --env=test --force doctrine:database:drop || true
  - app/console --env=test doctrine:database:create
  # Web server
  - php -S localhost:8000 --docroot web &
  - sleep 3

script:
  - bin/behat
#  - phpunit -c app

language: php

php:
  - 5.4
  - 5.5

before_script:
  - composer self-update
  - composer install -n
  # Parameters
  - cp -a app/config/parameters.yml{.dist,}
  - sed 's/your_base_url/http:\/\/localhost:8000\/app_test.php/' behat.yml-dist > behat.yml
  # Database
  - app/console --env=test --force doctrine:database:drop || true
  - app/console --env=test doctrine:database:create
  # Web server
  - php -S localhost:8000 --docroot web &
  - sleep 3

script:
  - bin/behat
#  - phpunit -c app

Revert "Travis has now to test PHP 5.6 and PHP 7.0 too"
Revert "Travis has now to test PHP 5.6 and PHP 7.0 too"

This reverts commit 50397c3b670a3a905aec639f4066fcc16ff7019e.
