language: php

matrix:
  include:
    - php: 5.3
    - php: 5.4
    - php: 5.5
    - php: 5.6
    - php: 7.0
    - php: hhvm
    
  allow_failures:
    - php: 7.0
  fast_finish: true

before_install:
  - composer selfupdate

install:
  - composer update --prefer-dist  --no-scripts  --no-interaction

script:
   - ./bin/grumphp run

language: php

matrix:
  include:
    - php: 5.3
    - php: 5.4
    - php: 5.5
    - php: 5.6
    - php: 7.0
    - php: hhvm
  fast_finish: true

before_install:
  - composer selfupdate
  - bash -c 'if [ "$TRAVIS_PHP_VERSION" == "7.0" ]; then wget https://github.com/digitalkaoz/typehint-to-docblock/releases/download/0.2.2/typehint-to-docblock.phar && php typehint-to-docblock.phar transform spec; fi;'

install:
  - composer update --prefer-dist  --no-scripts  --no-interaction

script:
   - ./bin/grumphp run

Fix PHP7 issues with phpspec for Travis.
Fix PHP7 issues with phpspec for Travis.
