-
Notifications
You must be signed in to change notification settings - Fork 11
/
Copy path.travis.yml
52 lines (44 loc) · 1.23 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
47
48
49
50
51
52
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- hhvm
matrix:
allow_failures:
- php: hhvm
- env: SYMFONY_VERSION=dev-master
env:
- SYMFONY_VERSION=2.2.*
- 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.*
- SYMFONY_VERSION=dev-master
cache:
apt: true
directories:
- $COMPOSER_CACHE_DIR
before_script:
- sudo apt-get install geoip-bin
- sudo apt-get install geoip-database
- sudo apt-get install libgeoip-dev
- ls -l /usr/share/GeoIP
- curl -o GeoLiteCity.dat.gz https://cloud.github.com/downloads/lunetics/TimezoneBundle/GeoLiteCity.dat.gz
- gunzip GeoLiteCity.dat.gz
- sudo mkdir -p /usr/share/GeoIP
- sudo mv GeoLiteCity.dat /usr/share/GeoIP/GeoIPCity.dat
- pecl install geoip
- composer self-update
- composer require symfony/framework-bundle:${SYMFONY_VERSION} --dev --no-update
- composer install --dev --prefer-source
script: phpunit --coverage-text --coverage-clover=coverage.clover
after_script:
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
notifications:
email: [email protected]