language: php

php:
  - 7
  - nightly

env:
  - TEST_SUITE="AnalyzerTest"
  - TEST_SUITE="PhanTest"
  - TEST_SUITE="RasmusTest"
  - TEST_SUITE="LanguageTest"
  - TEST_SUITE="OutputPrinterTest"

sudo: false

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

cache:
  directories:
    - ./vendor
    - ./build/ast

before_install:
  - ./tests/setup.sh

install:
  - composer --prefer-source install

script:
  - ./vendor/bin/phpunit --colors --testsuite "$TEST_SUITE"
  - php package.php

before_deploy:
  - php package.php

deploy:
  provider: releases
  file: build/phan.phar
  skip_cleanup: true
  on:
    tags: true

language: php

php:
  - 7
  - nightly

env:
  - TEST_SUITE="AnalyzerTest"
  - TEST_SUITE="PhanTest"
  - TEST_SUITE="RasmusTest"
  - TEST_SUITE="LanguageTest"
  - TEST_SUITE="OutputPrinterTest"

sudo: false

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

cache:
  directories:
    - ./vendor

before_install:
  - ./tests/setup.sh

install:
  - composer --prefer-source install

script:
  - ./vendor/bin/phpunit --colors --testsuite "$TEST_SUITE"
  - php package.php

before_deploy:
  - php package.php

deploy:
  provider: releases
  file: build/phan.phar
  skip_cleanup: true
  on:
    tags: true

Disable caching oh php-ast build
Disable caching oh php-ast build

Might be a fix needed for #409. If it doesn't fix I will revert.