-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
34 lines (26 loc) · 752 Bytes
/
Copy path.travis.yml
File metadata and controls
34 lines (26 loc) · 752 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
language: php
sudo: false
php:
- 5.6
- 7.0
- hhvm
env:
- SYMFONY_VERSION=2.7.*
- SYMFONY_VERSION=3.0.*
allow_failures:
- php: hhvm
before_script:
- composer self-update
- if [ "$SYMFONY_VERSION" != "" ]; then composer require "symfony/symfony:${SYMFONY_VERSION}" --no-update; fi;
- composer install --dev --prefer-dist --no-interaction
script:
- ./vendor/bin/phpcs ./ -p --encoding=utf-8 --extensions=php --ignore=vendor --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:
- bukashk0zzz@gmail.com