language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7
  - 7.1
  - hhvm
  - nightly

matrix:
  fast_finish: true

cache:
  directories:
    - ./vendor

install:
  - composer --prefer-dist  --optimize-autoloader --no-interaction install

before-install:
  - mkdir -p build/

script:
  - php bin/compiler.php
  - php build/checker.phar

before_deploy:
  - php bin/compiler.php

deploy:
  provider: releases
  api_key: $API_KEY
  file: build/checker.phar
  skip_cleanup: true
  on:
    tags: true

language: php

php:
  - 5.4
  - 5.5
  - 5.6
  - 7
  - 7.1
  - hhvm
  - nightly

matrix:
  fast_finish: true
  allow_failures:
    - php: hhvm
    - php: nightly

cache:
  directories:
    - ./vendor

install:
  - composer --prefer-dist  --optimize-autoloader --no-interaction install

before-install:
  - mkdir -p build/

script:
  - php bin/compiler.php
  - php build/checker.phar

before_deploy:
  - php bin/compiler.php

deploy:
  provider: releases
  api_key: $API_KEY
  file: build/checker.phar
  skip_cleanup: true
  on:
    tags: true

Allow failure on hhvm and nighly
Allow failure on hhvm and nighly
