forked from mpeshehonov/DatatablesBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
executable file
·41 lines (34 loc) · 1.12 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
language: php
sudo: false
cache:
directories:
- $HOME/.composer/cache
matrix:
fast_finish: true
include:
- php: 7.2
env: DEPENDENCIES=beta SYMFONY_REQUIRE="3.4.*"
- php: 7.2
env: DEPENDENCIES=beta SYMFONY_REQUIRE="4.4.*"
- php: 7.2
env: DEPENDENCIES=beta SYMFONY_REQUIRE="5.0.*"
- php: 7.3
env: DEPENDENCIES=beta SYMFONY_REQUIRE="3.4.*"
- php: 7.3
env: DEPENDENCIES=beta SYMFONY_REQUIRE="4.4.*"
- php: 7.3
env: DEPENDENCIES=beta SYMFONY_REQUIRE="5.0.*"
- php: hhvm
allow_failures:
- php: hhvm
env:
- SYMFONY_REQUIRE="3.4.*" DEPENDENCIES=dev COMPOSER_FLAGS="--prefer-stable"
before_install:
- composer self-update
- composer global require --no-progress --no-scripts --no-plugins symfony/flex dev-master
- if [ "$DEPENDENCIES" = "beta" ]; then composer config minimum-stability beta; fi;
- if [ "$DEPENDENCIES" = "dev" ]; then perl -pi -e 's/^}$/,"minimum-stability":"dev"}/' composer.json; fi;
install: composer update --prefer-dist --no-interaction $COMPOSER_FLAGS
script:
- ./vendor/bin/phpunit --version
- ./vendor/bin/phpunit --coverage-text