-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy path.travis.yml
More file actions
27 lines (24 loc) · 730 Bytes
/
.travis.yml
File metadata and controls
27 lines (24 loc) · 730 Bytes
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
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
matrix:
include:
- php: 7.1
env: COMPOSER_FLAGS='--prefer-lowest --prefer-stable'
- php: 7.1
env: SYMFONY_VERSION=4.0.*
- php: 7.1
env: SYMFONY_VERSION=4.1.*
- php: 7.2
env: SYMFONY_VERSION=4.1.*
fast_finish: true
before_install:
- composer self-update
install:
- if [[ $SYMFONY_VERSION != "" ]]; then composer require "symfony/framework-bundle:${SYMFONY_VERSION}" "symfony/dependency-injection:${SYMFONY_VERSION}" "symfony/phpunit-bridge:${SYMFONY_VERSION}" --no-update -n; fi
- composer update $COMPOSER_FLAGS --prefer-dist --no-interaction
script:
- vendor/bin/phpunit
- vendor/bin/behat