forked from bankiru/doctrine-di-types
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
47 lines (38 loc) · 968 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
46
47
language: php
php:
- nightly
- 7.1
- 7
- 5.6
- 5.5
env:
- PACKAGES='symfony/symfony=~3.4' STABILITY=dev
- PACKAGES='symfony/symfony=3.3.*'
- PACKAGES='symfony/symfony=3.2.*'
- PACKAGES='symfony/symfony=2.8.*'
- PACKAGES='symfony/symfony=2.7.*'
## Run on container environment
sudo: false
## Cache composer bits
cache:
directories:
- $HOME/.composer/cache
matrix:
include:
- php: 7.1
env: PACKAGES='symfony/symfony=~4.0' STABILITY=dev
- php: nightly
env: PACKAGES='symfony/symfony=~4.0' STABILITY=dev
allow_failures:
- php: nightly
- env: PACKAGES='symfony/symfony=~4.0' STABILITY=dev
before_install:
- travis_retry composer self-update
install:
- composer require --no-update ${PACKAGES}
- if [ "$STABILITY" = "dev" ]; then composer config minimum-stability dev; fi;
- composer --prefer-source install
script:
- rm -rf build
- mkdir -p build
- vendor/bin/phpunit --colors -c phpunit.xml