File: .travis.yml

package info (click to toggle)
php-guzzlehttp-psr7 1.7.0-1%2Bdeb11u2
  • links: PTS, VCS
  • area: main
  • in suites: bullseye
  • size: 780 kB
  • sloc: php: 7,816; makefile: 37
file content (42 lines) | stat: -rw-r--r-- 1,277 bytes parent folder | download
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
40
41
42
language: php

matrix:
    include:
        - php: hhvm-3.24
          dist: trusty
        - php: 5.4
          dist: trusty
          env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
        - php: 5.4
          dist: trusty
        - php: 5.5.9
          dist: trusty
          env: COMPOSER_FLAGS="--prefer-stable --prefer-lowest"
        - php: 5.5
          dist: trusty
        - php: 5.6
          dist: xenial
        - php: 7.0
          dist: xenial
        - php: 7.1
          dist: bionic
        - php: 7.2
          dist: bionic
        - php: 7.3
          dist: bionic
        - php: 7.4
          dist: bionic
        - php: nightly
          dist: bionic
    fast_finish: true

before_install:
    - if [[ "$TRAVIS_PHP_VERSION" != "hhvm-3.24" ]]; then echo "xdebug.overload_var_dump = 1" >> ~/.phpenv/versions/$(phpenv version-name)/etc/php.ini; fi
    - if [[ "$TRAVIS_PHP_VERSION" == "hhvm-3.24" ]]; then travis_retry composer require "phpunit/phpunit:^5.7.27" --dev --no-update -n; fi

install:
    - if [[ "$TRAVIS_PHP_VERSION" != "nightly" ]]; then travis_retry composer update --prefer-dist; fi
    - if [[ "$TRAVIS_PHP_VERSION" == "nightly" ]]; then travis_retry composer update --prefer-dist --ignore-platform-reqs; fi

script:
    - make test