#
# This file has been generated by the Ibuildings QA-Tools
#
# Any custom Travis-ci configuration be added here
# This file should be added to your project repository
#

language: php

php:
  - 7.2

env:
  global:
    - SYMFONY_ENV=test

cache:
  directories:
    - ~/.composer

before_script:
  - phpenv config-add .travis.php.ini
  - composer self-update 1.10.16
  - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
  - nvm install 10.22.0
  - curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
  - composer install --prefer-dist

script:
  - composer test

branches:
  only:
    - master
    - develop

#
# This file has been generated by the Ibuildings QA-Tools
#
# Any custom Travis-ci configuration be added here
# This file should be added to your project repository
#

language: php

php:
  - 7.2

env:
  global:
    - SYMFONY_ENV=test

cache:
  directories:
    - ~/.composer

before_script:
  - phpenv config-add .travis.php.ini
  - composer self-update --1
  - curl -o- https://raw.githubusercontent.com/nvm-sh/nvm/v0.34.0/install.sh | bash
  - nvm install 10.22.0
  - curl --compressed -o- -L https://yarnpkg.com/install.sh | bash
  - export PATH="$HOME/.yarn/bin:$HOME/.config/yarn/global/node_modules/.bin:$PATH"
  - composer install --prefer-dist

script:
  - composer test

branches:
  only:
    - master
    - develop

Use the latest Composer 1 on Travis
Use the latest Composer 1 on Travis

Instead of the version pin, the --1 flag can be used to fetch the latest
version 1 of Composer
