Sha256: 7a4ef378e6e23baadeb711feb490e69346b5a1e4e3a0b71cdf7162599a45b876

Contents?: true

Size: 1.8 KB

Versions: 36

Compression:

Stored size: 1.8 KB

Contents

language: php

sudo: false

dist: trusty

git:
  depth: 5

cache:
  directories:
    - $HOME/.composer/cache

addons:
  apt:
    packages:
      - parallel

php:
  - 5.4
  - 5.5
  - 5.6
  - 7.0
  - 7.1
  - 7.2
  - 7.3
  - nightly

matrix:
  include:
    - php: 5.3
      dist: precise
    - php: 7.3
      env: deps=high
  fast_finish: true
  allow_failures:
    - php: nightly

before_install:
    # disable xdebug if available
    - phpenv config-rm xdebug.ini || echo "xdebug not available"
    # disable default memory limit
    - export INI=~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
    - echo memory_limit = -1 >> $INI

install:
    # flags to pass to install
    - flags="--ansi --prefer-dist --no-interaction --optimize-autoloader --no-suggest --no-progress"
    # update deps to latest in case of high deps build
    - if [ "$deps" == "high" ]; then composer config platform.php 7.2.4; composer update $flags; fi
    # install dependencies using system provided composer binary
    - composer install $flags
    # install dependencies using composer from source
    - bin/composer install $flags

before_script:
    # make sure git tests do not complain about user/email not being set
    - git config --global user.name travis-ci
    - git config --global user.email travis@example.com

script:
    # run test suite directories in parallel using GNU parallel
    - ls -d tests/Composer/Test/* | grep -v TestCase.php | parallel --gnu --keep-order 'echo "Running {} tests"; ./vendor/bin/phpunit -c tests/complete.phpunit.xml --colors=always {} || (echo -e "\e[41mFAILED\e[0m {}" && exit 1);'

before_deploy:
    - php -d phar.readonly=0 bin/compile

deploy:
  provider: releases
  api_key: $GITHUB_TOKEN
  file: composer.phar
  skip_cleanup: true
  on:
    tags: true
    repo: composer/composer
    php:  '7.2'

Version data entries

36 entries across 36 versions & 1 rubygems

Version Path
dependabot-composer-0.111.50 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.111.25 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.111.17 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.111.15 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.110.13 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.108.11 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.108.8 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.107.47 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.107.39 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.107.36 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.107.28 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.107.14 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.106.12 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.106.11 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.106.5 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.100.2 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.98.36 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.98.19 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.98.13 helpers/vendor/composer/composer/.travis.yml
dependabot-composer-0.98.11 helpers/vendor/composer/composer/.travis.yml