forked from TheBigBrainsCompany/TbbcMoneyBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
34 lines (28 loc) · 818 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
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
env:
- SYMFONY_VERSION=2.8.* #php >=5.3.9
- SYMFONY_VERSION=3.0.* #php >=5.5.9
before_install:
- export SYMFONY_DEPRECATIONS_HELPER=weak #set this to "strict" to make build fail on deprecation messages
- composer self-update
install:
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/framework-bundle:${SYMFONY_VERSION}" --no-update; fi;
- composer update --prefer-dist --no-interaction
script:
- vendor/bin/phpunit --coverage-text
- vendor/bin/phpcs . --standard=vendor/m6web/symfony2-coding-standard/Symfony2 -sp --ignore=vendor,Tests --extensions=php
matrix:
exclude:
- php: 5.3
env: SYMFONY_VERSION=3.0.*
- php: 5.4
env: SYMFONY_VERSION=3.0.*
notifications:
email: