forked from greg0ire/enum
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
45 lines (39 loc) · 864 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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
branches:
only:
- legacy-stable
- master
- unstable
language: php
php:
- 5.6
- 7.1
- nightly
cache:
directories:
- $HOME/.composer/cache/files
matrix:
fast_finish: true
include:
- php: 5.6
env: COMPOSER_OPTIONS="--prefer-lowest"
- php: 7.1
env: SYMFONY_VERSION=2.7.*
- php: 7.1
env: SYMFONY_VERSION=2.8.*
- php: 7.1
env: SYMFONY_VERSION=3.1.*
- php: 7.1
env: SYMFONY_VERSION=3.2.*
allow_failures:
- php: nightly
- env: SYMFONY_VERSION=3.3.*@dev
install:
- composer global require sllh/composer-lint:@stable --prefer-dist --no-interaction
- |
if [ "$SYMFONY_VERSION" != "" ]
then composer require "symfony/symfony:$SYMFONY_VERSION" --no-update
fi
- composer update ${COMPOSER_OPTIONS} --prefer-dist
script:
- composer validate
- bin/phpunit