---
language: php
sudo: false
env:
  global:
    - GH_REF: github.com/shrikeh/teapot.git
    - secure: "h8Q6F3ThS/pwBDMUg3Vj5zKqVhk2Birt1cZkbIxiFOMI2ptKHg+j6m9n3HTMRZq1jdEUrqnbqME3cCAAIs70dvw24ByeS7GJxzaBNLf/uA2nt6+6BiGvbAUqkVsCEMSyr7QqzsYMdbeGxEViuvgxhp3x6Fy9jIRz4kNdYJvzFUU="

matrix:
  include:
    - php: 5.5
    - php: 5.6
    - php: hhvm
    - php: 7.0
  allow_failures:
    # While teapot will run on these versions, let's not let them break builds.
    - php: 5.5
  fast_finish: true

cache:
  directories:
    - $HOME/.composer/cache

before_install:
# Remove xdebug as per https://getcomposer.org/doc/articles/troubleshooting.md#xdebug-impact-on-composer
  - if [ "$TRAVIS_PHP_VERSION" != 'hhvm' ]; then phpenv config-rm xdebug.ini; fi
  - composer self-update
  - composer validate

install:
  - composer install --prefer-dist

script:
  - bin/test
...

---
language: php
sudo: false
env:
  global:
    - GH_REF: github.com/shrikeh/teapot.git
    - secure: "h8Q6F3ThS/pwBDMUg3Vj5zKqVhk2Birt1cZkbIxiFOMI2ptKHg+j6m9n3HTMRZq1jdEUrqnbqME3cCAAIs70dvw24ByeS7GJxzaBNLf/uA2nt6+6BiGvbAUqkVsCEMSyr7QqzsYMdbeGxEViuvgxhp3x6Fy9jIRz4kNdYJvzFUU="

matrix:
  include:
    - php: 5.6
    - php: hhvm
    - php: 7.0
  allow_failures:
    # HHVM will be abandoned so let's not have it break builds
    - php: hhvm
  fast_finish: true

cache:
  directories:
    - $HOME/.composer/cache

before_install:
# Remove xdebug as per https://getcomposer.org/doc/articles/troubleshooting.md#xdebug-impact-on-composer
  - if [ "$TRAVIS_PHP_VERSION" != 'hhvm' ]; then phpenv config-rm xdebug.ini; fi
  - composer self-update
  - composer validate

install:
  - composer install --prefer-dist

script:
  - bin/test
...

Fix Travis so we no longer use 5.5
Fix Travis so we no longer use 5.5
