forked from AdactiveSAS/saml2-bridge-bundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
61 lines (53 loc) · 1.48 KB
/
.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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
language: php
dist: trusty
sudo: false
cache:
directories:
- $HOME/.composer/cache/files
# Use the lowest official supported symfony version http://symfony.com/doc/current/contributing/community/releases.html#schedule
# For example we are working on Symfony 3.0, but we prefer to run test against maintained Symfony versions
matrix:
include:
- php: hhvm
- php: nightly
- php: 5.6
env:
- SYMFONY_VERSION=2.7.*
- SYMFONY_WORKFLOW_VERSION=3.3.*
- php: 7.0
env:
- SYMFONY_VERSION=2.7.*
- SYMFONY_WORKFLOW_VERSION=3.3.*
- php: 7.0
env:
- SYMFONY_VERSION=3.3.*
- SYMFONY_WORKFLOW_VERSION=3.3.*
- php: 7.1
env:
- SYMFONY_VERSION=2.7.*
- SYMFONY_WORKFLOW_VERSION=3.3.*
- php: 7.1
env:
- SYMFONY_VERSION=3.3.*
- SYMFONY_WORKFLOW_VERSION=3.3.*
- php: 7.1
env:
- SYMFONY_VERSION=4.0.*
- SYMFONY_WORKFLOW_VERSION=4.0.*
allow_failures:
- php: hhvm
- php: nightly
# - php: 7.1
# env:
# - SYMFONY_VERSION=4.0.*
# - SYMFONY_WORKFLOW_VERSION=4.0.*
fast_finish: true
before_install:
- phpenv config-add travis.php.ini
install:
- if [[ $SYMFONY_VERSION != "" ]]; then composer require "symfony/symfony:${SYMFONY_VERSION}" "symfony/workflow:${SYMFONY_WORKFLOW_VERSION}" ; fi
- composer update --prefer-source --no-interaction
script:
- vendor/bin/phpunit
after_success:
- travis_retry php vendor/bin/coveralls