-
Notifications
You must be signed in to change notification settings - Fork 31
/
Copy path.travis.yml
35 lines (29 loc) · 1.32 KB
/
.travis.yml
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
#
# acquia/http-hmac-php project Travis configuration
#
# @see https://docs.travis-ci.com/user/customizing-the-build/
#
language: php
matrix:
fast_finish: true
include:
- { php: 8.0, env: PSR_MESSAGE_BRIDGE_VERSION=2.1 SYMFONY_VERSION=5.3 SYMFONY_DEPRECATIONS_HELPER=weak, name: "PHP 8.0, Symfony 5.3" }
- { php: 7.4, env: PSR_MESSAGE_BRIDGE_VERSION=2.1 SYMFONY_VERSION=5.3 SYMFONY_DEPRECATIONS_HELPER=weak, name: "PHP 7.4, Symfony 5.3" }
- { php: 7.3, env: PSR_MESSAGE_BRIDGE_VERSION=2.1 SYMFONY_VERSION=5.3 SYMFONY_DEPRECATIONS_HELPER=weak, name: "PHP 7.3, Symfony 5.3" }
- { php: 7.4, env: PSR_MESSAGE_BRIDGE_VERSION=2.1 SYMFONY_VERSION=4.4, name: "PHP 7.4, Symfony 4.4" }
- { php: 7.3, env: PSR_MESSAGE_BRIDGE_VERSION=2.1 SYMFONY_VERSION=4.4, name: "PHP 7.3, Symfony 4.4" }
before_install:
- travis_retry composer self-update
- phpenv config-rm xdebug.ini
- echo "memory_limit=2G" >> ~/.phpenv/versions/$(phpenv version-name)/etc/conf.d/travis.ini
install:
- composer require "symfony/psr-http-message-bridge:${PSR_MESSAGE_BRIDGE_VERSION}" --no-update
- composer require "symfony/security-bundle:${SYMFONY_VERSION}" --no-update
- travis_retry make install
script:
- make test
jobs:
include:
- stage: coverage
script: make coverage
env: PSR_MESSAGE_BRIDGE_VERSION=2.1 SYMFONY_VERSION=5.3