-
Notifications
You must be signed in to change notification settings - Fork 3
/
.travis.yml
38 lines (31 loc) · 842 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
language: php
php:
- 5.5
- 5.6
- 7
- nightly
- hhvm
env:
- SYMFONY_VERSION='2.7.*' deps='no'
- SYMFONY_VERSION='2.8.*' deps='no'
- SYMFONY_VERSION='3.0.*' deps='no'
- SYMFONY_VERSION='3.1.*' deps='no'
- SYMFONY_VERSION='~3.2@dev' deps='no'
matrix:
include:
- php: 5.4
env: SYMFONY_VERSION='2.3.*' deps='no'
- php: 5.4
env: SYMFONY_VERSION='2.3.*' deps='low'
allow_failures:
- php: hhvm
- php: nightly
before_install:
- travis_retry composer self-update
install:
- composer require --no-update symfony/symfony=${SYMFONY_VERSION}
- if [ "$deps" = "no" ]; then composer --prefer-source install; fi;
- if [ "$deps" = "low" ]; then composer --prefer-source --prefer-lowest --prefer-stable update; fi;
script:
- mkdir -p build
- vendor/bin/phpunit --colors