forked from resquebundle/resque
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
29 lines (23 loc) · 814 Bytes
/
.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
language: php
php:
- 7.1
- 7.3
before_script:
- composer install
matrix:
fast_finish: true
include:
- php: 7.1
env: SYMFONY_VERSION=4.0.*
- php: 7.3
env: SYMFONY_VERSION=4.4.* DEPENDENCIES=beta
sudo: false
cache:
directories:
- $HOME/.composer/cache
before_install:
- if [ "$DEPENDENCIES" = "beta" ]; then composer config minimum-stability beta; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/framework-bundle:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/console:${SYMFONY_VERSION}" --no-update; fi;
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/process:${SYMFONY_VERSION}" --no-update; fi;
install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS