language: php

php:
    - "5.3"
    - "5.4"
    - "5.5"
    - "5.6"
    - "7.0"

sudo: false

install:
    - travis_retry composer self-update && composer --version
    # We have to supply the branch alias here again as travis checks out a commit hash and therefore destroys the
    # circular dependency phpcq/all-tasks -> phpcq/autoload-validation -> phpcq/all-tasks.
    - >
      if [ "x${TRAVIS_TAG}" != "x" ]; then
        COMPOSER_ROOT_VERSION=${TRAVIS_TAG} travis_retry composer update --prefer-dist --no-interaction;
      else
        COMPOSER_ROOT_VERSION=dev-${TRAVIS_BRANCH} travis_retry composer update --prefer-dist --no-interaction;
      fi

script: ant -keep-going

# Hack to make things work again - we can not use a shallow repository.
git:
  depth: 2147483647

language: php

php:
    - "5.3"
    - "5.4"
    - "5.5"
    - "5.6"
    - "7.0"
    - "7.1"

sudo: false

install:
    - travis_retry composer self-update && composer --version
    # We have to supply the branch alias here again as travis checks out a commit hash and therefore destroys the
    # circular dependency phpcq/all-tasks -> phpcq/autoload-validation -> phpcq/all-tasks.
    - >
      if [ "x${TRAVIS_TAG}" != "x" ]; then
        COMPOSER_ROOT_VERSION=${TRAVIS_TAG} travis_retry composer update --prefer-dist --no-interaction;
      else
        COMPOSER_ROOT_VERSION=dev-${TRAVIS_BRANCH} travis_retry composer update --prefer-dist --no-interaction;
      fi

script: ant -keep-going

# Hack to make things work again - we can not use a shallow repository.
git:
  depth: 2147483647

Add PHP 7.1 to travix.yml
Add PHP 7.1 to travix.yml
