-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path.travis.yml
More file actions
28 lines (22 loc) · 908 Bytes
/
.travis.yml
File metadata and controls
28 lines (22 loc) · 908 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
language: php
php:
- 5.5
- 5.6
- hhvm
env:
matrix:
- SYMFONY_VERSION=2.4.*
- SYMFONY_VERSION=2.5.*
# dev build is currently taking forever on hhvm so we are skipping for now
#- SYMFONY_VERSION=dev-master
before_script:
- composer self-update
- composer require symfony/framework-bundle:${SYMFONY_VERSION} --no-update
- composer update --prefer-source
script:
- phpunit --coverage-text --coverage-clover=coverage.clover
- sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then wget https://scrutinizer-ci.com/ocular.phar; fi"
- sh -c "if [ '$TRAVIS_PHP_VERSION' != 'hhvm' ]; then php ocular.phar code-coverage:upload --format=php-clover coverage.clover; fi"
notifications:
flowdock:
secure: RJyC2+xYZNQvAk4+O/+r4qiN4CPzO4+Er0YDlcpZcBOcK2xlriPjpgInV8nrSYvuQYMPzk8i+n283U45sAkM/wTyz8O644sxcmV8YcjxqYL1JfHWk8Xjl8BK7c7LQ+j0bm68rIfvXhCMff6YxGU5k0OJWEOo8sKDBfWU8DD7cZs=