forked from api-platform/core
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
43 lines (35 loc) · 812 Bytes
/
.travis.yml
File metadata and controls
43 lines (35 loc) · 812 Bytes
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
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
php:
- 5.5
- 7.0
- nightly
- hhvm
matrix:
fast_finish: true
include:
- php: 5.6
env: SYMFONY_VERSION=2.7.*
- php: 5.6
env: SYMFONY_VERSION=2.8.*@dev
- php: 5.6
env: SYMFONY_VERSION="3.0.*@dev"
- php: 7.0
allow_failures:
- php: 7.0
- php: nightly
- env: SYMFONY_VERSION=2.8.*@dev
- env: SYMFONY_VERSION="3.0.*@dev"
before_install:
- composer self-update
- if [ "$SYMFONY_VERSION" != "" ]; then
composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update;
fi;
install:
- composer update --no-interaction --prefer-dist
script:
- vendor/bin/phpunit
- vendor/bin/behat