.travis.yml 745 Bytes
Newer Older
Ketan's avatar
Ketan committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39
language: php

branches:
  # Only test the master branch and SemVer tags.
  only:
    - master
    - /^[[:digit:]]+\.[[:digit:]]+\.[[:digit:]]+.*$/

matrix:
  fast_finish: true
  include:
    - php: 7.2
      env: 'SCENARIO=symfony4 HIGHEST_LOWEST="update"'
    - php: 7.1
      env: 'SCENARIO=symfony4'
    - php: 7.0.11
      env: 'HIGHEST_LOWEST="update"'
    - php: 7.0.11
    - php: 5.6
    - php: 5.5
    - php: 5.4
      env: 'SCENARIO=symfony2 HIGHEST_LOWEST="update --prefer-lowest'

sudo: false

cache:
  apt: true
  directories:
  - "$HOME/.composer/cache"
  - "vendor"

install:
  - 'composer scenario "${SCENARIO}" "${HIGHEST_LOWEST-install}"'

script:
  - composer test

after_success:
  - travis_retry php vendor/bin/coveralls -v