vaimo/composer-patches

View on GitHub
.travis.yml

Summary

Maintainability
Test Coverage
# Copyright (c) Vaimo Group. All rights reserved.
# See LICENSE_VAIMO.txt for license details.
language: php
  
addons:
  apt:
    update: true

git:
  depth: 1

before_install:
  - sudo apt-get -y install git

env:
  jobs:
    - COMPOSER_VERSION=1.10.20
    - COMPOSER_VERSION=2.0.9

script:
  # removed to allow GIT applier to trigger as well (tests output does cover it)
  - rm -rf .git
  - composer self-update ${COMPOSER_VERSION}
  - cp test/files/composer-v${COMPOSER_VERSION:0:1}.json composer.json 2>/dev/null || true
  - cp test/files/composer-v${COMPOSER_VERSION:0:1}.lock composer.lock 2>/dev/null || true
  - composer install
  - composer ci:build