forked from webfactory/WebfactoryIcuTranslationBundle
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
46 lines (38 loc) · 1.22 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
42
43
44
45
46
language: php
sudo: false
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
env:
- SYMFONY_VERSION=locked # Use the versions that are given in composer.lock.
- SYMFONY_VERSION="2.3.*"
- SYMFONY_VERSION="2.4.*"
- SYMFONY_VERSION="2.5.*"
- SYMFONY_VERSION="2.6.*"
- SYMFONY_VERSION="2.7.*"
- SYMFONY_VERSION="2.8.*"
- SYMFONY_VERSION="3.0.*"
before_script:
- travis_retry curl -s http://getcomposer.org/installer | php
- travis_retry php composer.phar install
# Register a specific Symfony version if necessary...
- sh -c "if [ '$SYMFONY_VERSION' != 'locked' ]; then php composer.phar require --no-update symfony/symfony:${SYMFONY_VERSION}; fi"
# ... and update the dependencies accordingly.
- travis_retry sh -c "if [ '$SYMFONY_VERSION' != 'locked' ]; then php composer.phar update symfony/*; fi"
- mkdir -p build/logs
script:
- vendor/bin/phpunit --coverage-clover build/logs/clover.xml
after_script:
- php vendor/bin/coveralls
matrix:
allow_failures:
- php: 7
- php: hhvm
notifications:
hipchat:
rooms:
secure: U5zi3jZwy8qzO/fgBD4EhwDG3OoslwHDUfVamvtaScGq3R7FF0XkAY243l4+/5KKy30ON0fD9xkfVV+QJtnX/hMzFmWU1OOcr7hHrsEYf7U6DRll4qTiIMN5WfHoYwRxKEM1PAPMjJTrbcvXCDKcrFIENaGEk3srvv34NgWCyo4=