<NME> .travis.yml
<BEF> language: php

php: [5.4, 5.5, 5.6, 7.0, hhvm]

matrix:
    fast_finish: true
    allow_failures:
        - php: hhvm
        - env: SYMFONY_VERSION='2.8.*@dev'
        - php: 7.0
    include:

before_script:
  - composer install --prefer-source --dev
  - phantomjs --webdriver=4444 &
  - php -S localhost:8080 -t features/contexts/fixtures &
  - 'curl -H "Accept: text/plain" https://security.sensiolabs.org/check_lock -F lock=@composer.lock -s | grep "No known"'
          env: SYMFONY_VERSION='2.7.*'
        - php: 5.4
          env: SYMFONY_VERSION='2.8.*@dev'

before_script:
    - composer selfupdate
    - if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony=$SYMFONY_VERSION; else composer install; fi;
    - phantomjs --version
    - phantomjs --webdriver=4444 &
    - php -S localhost:8080 -t features/Context/fixtures &

script:
    - ./bin/phpspec run -fpretty
    - ./bin/behat --verbose

<MSG> add phantom version

<DFF> @@ -12,6 +12,7 @@ cache:
 
 before_script:
   - composer install --prefer-source --dev
+  - phantomjs --version
   - phantomjs --webdriver=4444 &
   - php -S localhost:8080 -t features/contexts/fixtures &
   - 'curl -H "Accept: text/plain" https://security.sensiolabs.org/check_lock -F lock=@composer.lock -s | grep "No known"'

{'commit': 'diff --git a/.travis.yml b/.travis.yml\nindex 1c27e02..23af281 100644\n--- a/.travis.yml\n+++ b/.travis.yml\n@@ -12,6 +12,7 @@ cache:\n \n before_script:\n   - composer install --prefer-source --dev\n+  - phantomjs --version\n   - phantomjs --webdriver=4444 &\n   - php -S localhost:8080 -t features/contexts/fixtures &\n   - \'curl -H "Accept: text/plain" https://security.sensiolabs.org/check_lock -F lock=@composer.lock -s | grep "No known"\'\n', 'commit_subject': 'add phantom version', 'repo_name': 'KnpLabs/KnpRadBundle', 'committer': {'name': 'Klein Florian', 'email': 'feb33dce30f8c36e7821640ea19d255e69aef39d@free.fr', 'time_sec': '1387448032', 'tz_offset': '60', 'date': {'seconds': '1387448032'}}, 'commit_tree': '97426df1bad1923636f4d662c8359f083597976b', 'commit_message': 'add phantom version\n', 'language_name': 'PHP', 'license': 'mit', 'hunks': '@@ -12,6 +12,7 @@ cache:\n \n before_script:\n   - composer install --prefer-source --dev\n+  - phantomjs --version\n   - phantomjs --webdriver=4444 &\n   - php -S localhost:8080 -t features/contexts/fixtures &\n   - \'curl -H "Accept: text/plain" https://security.sensiolabs.org/check_lock -F lock=@composer.lock -s | grep "No known"\'\n', 'addition_count': 1, 'deletion_count': 0, 'src_file': 'a/.travis.yml', 'tgt_file': 'b/.travis.yml', 'file_extension': '.yml', 'before_file': 'language: php\n\nphp: [5.4, 5.5, 5.6, 7.0, hhvm]\n\nmatrix:\n    fast_finish: true\n    allow_failures:\n        - php: hhvm\n        - env: SYMFONY_VERSION=\'2.8.*@dev\'\n        - php: 7.0\n    include:\n\nbefore_script:\n  - composer install --prefer-source --dev\n  - phantomjs --webdriver=4444 &\n  - php -S localhost:8080 -t features/contexts/fixtures &\n  - \'curl -H "Accept: text/plain" https://security.sensiolabs.org/check_lock -F lock=@composer.lock -s | grep "No known"\'\n          env: SYMFONY_VERSION=\'2.7.*\'\n        - php: 5.4\n          env: SYMFONY_VERSION=\'2.8.*@dev\'\n\nbefore_script:\n    - composer selfupdate\n    - if [ "$SYMFONY_VERSION" != "" ]; then composer require symfony/symfony=$SYMFONY_VERSION; else composer install; fi;\n    - phantomjs --version\n    - phantomjs --webdriver=4444 &\n    - php -S localhost:8080 -t features/Context/fixtures &\n\nscript:\n    - ./bin/phpspec run -fpretty\n    - ./bin/behat --verbose\n', 'message': 'add phantom version\n', 'author_name': 'Klein Florian', 'lang': 'travis'}