forked from bankiru/doctrine-api-client
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
37 lines (30 loc) · 833 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
language: php
php:
- 5.5
- 5.6
- 7
- 7.1
- nightly
- hhvm
env:
- PACKAGES='symfony/symfony=2.7.*'
- PACKAGES='symfony/symfony=2.8.*'
- PACKAGES='symfony/symfony=3.1.*'
- PACKAGES='symfony/symfony=3.2.*'
- PACKAGES='symfony/symfony=~3.3@dev'
matrix:
include:
- php: 5.5
env: PACKAGES='symfony/symfony=2.7.*' deps='low'
allow_failures:
- php: hhvm
- php: nightly
before_install:
- travis_retry composer self-update
install:
- composer require --no-update ${PACKAGES}
- if [ "$deps" = "no"] || [ -z "$deps" ]; then composer --prefer-source install; fi;
- if [ "$deps" = "low" ]; then composer --prefer-source --prefer-lowest --prefer-stable update; composer --prefer-source install; fi;
script:
- mkdir -p build
- vendor/bin/phpunit --colors -c phpunit.xml