language: php

env:
    global:
        - SYLIUS_CACHE_DIR=$HOME/.sylius-cache
        - SYLIUS_BUILD_DIR=etc/build

sudo: false

matrix:
    include:
        -
            php: 7.0
            env: SYLIUS_SUITE="application"
            services:
                - memcached
        -
            php: 7.0
            env: SYLIUS_SUITE="docs packages"
            addons:
                apt:
                    packages:
                        - parallel
        -
            php: 5.6
            env: SYLIUS_SUITE="application"
            services:
                - memcached
        -
            php: 5.6
            env: SYLIUS_SUITE="packages"
            addons:
                apt:
                    packages:
                        - parallel

cache:
    directories:
        - ~/.composer/cache/files
        - ~/.cache/pip
        - vendor
        - bin
        - node_modules
        - $SYLIUS_CACHE_DIR

before_install:
    - etc/travis/run-suite before_install "${SYLIUS_SUITE}"

install:
    - etc/travis/run-suite install "${SYLIUS_SUITE}"

before_script:
    - etc/travis/run-suite before_script "${SYLIUS_SUITE}"

script:
    - etc/travis/run-suite script "${SYLIUS_SUITE}"

before_cache:
    - etc/travis/run-suite before_cache "${SYLIUS_SUITE}"

after_success:
    - etc/travis/run-suite after_success "${SYLIUS_SUITE}"

after_failure:
    - etc/travis/run-suite after_failure "${SYLIUS_SUITE}"

after_script:
    - etc/travis/run-suite after_script "${SYLIUS_SUITE}"

language: php

env:
    global:
        - SYLIUS_CACHE_DIR=$HOME/.sylius-cache
        - SYLIUS_BUILD_DIR=etc/build

sudo: false

matrix:
    include:
        -
            php: 7.0
            env: SYLIUS_SUITE="application"
            services:
                - memcached
        -
            php: 7.0
            env: SYLIUS_SUITE="docs packages"
            addons:
                apt:
                    packages:
                        - parallel

cache:
    directories:
        - ~/.composer/cache/files
        - ~/.cache/pip
        - vendor
        - bin
        - node_modules
        - $SYLIUS_CACHE_DIR

before_install:
    - etc/travis/run-suite before_install "${SYLIUS_SUITE}"

install:
    - etc/travis/run-suite install "${SYLIUS_SUITE}"

before_script:
    - etc/travis/run-suite before_script "${SYLIUS_SUITE}"

script:
    - etc/travis/run-suite script "${SYLIUS_SUITE}"

before_cache:
    - etc/travis/run-suite before_cache "${SYLIUS_SUITE}"

after_success:
    - etc/travis/run-suite after_success "${SYLIUS_SUITE}"

after_failure:
    - etc/travis/run-suite after_failure "${SYLIUS_SUITE}"

after_script:
    - etc/travis/run-suite after_script "${SYLIUS_SUITE}"

Remove PHP v5.6 from the Travis CI build
Remove PHP v5.6 from the Travis CI build