forked from fre5h/DoctrineEnumBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.travis.yml
43 lines (33 loc) · 858 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
38
39
40
41
42
43
language: php
sudo: false
php:
- 5.4
- 5.5
- 5.6
- 7.0
env:
- SYMFONY_VERSION=2.6.*
- SYMFONY_VERSION=2.7.*
- SYMFONY_VERSION=2.8.*
- SYMFONY_VERSION=3.0.*
# Symfony 3.0 requires PHP 5.5
matrix:
exclude:
- php: 5.4
env: SYMFONY_VERSION=3.0.*
before_install:
- composer self-update
- composer require --no-update symfony/symfony "$SYMFONY_VERSION"
install:
- composer install --no-interaction --prefer-dist
script:
- ./vendor/bin/phpcs ./ -p --encoding=utf-8 --extensions=php --ignore=vendor --ignore=Tests --standard=./vendor/escapestudios/symfony2-coding-standard/Symfony2
- ./vendor/bin/phpunit -c phpunit.xml.dist --coverage-clover=coverage.xml
after_success:
- bash <(curl -s https://codecov.io/bash)
cache:
directories:
- $COMPOSER_CACHE_DIR
notifications:
email: