-
Notifications
You must be signed in to change notification settings - Fork 1
/
.travis.yml
41 lines (37 loc) · 1.14 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
language: php
matrix:
include:
- php: 5.4
env: DOCTRINE_ORM_VERSION=2.4.*
- php: 5.4
env: DOCTRINE_ORM_VERSION=2.5.*
- php: 5.5
env:
- COVERALLS=yes
- DOCTRINE_ORM_VERSION=2.4.*
- php: 5.5
env:
- COVERALLS=yes
- DOCTRINE_ORM_VERSION=2.5.*
- php: 5.6
env: DOCTRINE_ORM_VERSION=2.4.*
- php: 5.6
env: DOCTRINE_ORM_VERSION=2.5.*
- php: 7.0
env: DOCTRINE_ORM_VERSION=2.4.*
- php: 7.0
env: DOCTRINE_ORM_VERSION=2.5.*
- php: hhvm
env: DOCTRINE_ORM_VERSION=2.4.*
- php: hhvm
env: DOCTRINE_ORM_VERSION=2.5.*
before_script:
- curl -s http://getcomposer.org/installer | php
- php composer.phar require doctrine/orm:${DOCTRINE_ORM_VERSION} --no-update
- php composer.phar install --prefer-source --dev
script:
- vendor/bin/phpunit --coverage-text
after_success:
- vendor/bin/phpcs -v --report=summary --standard=PSR1,PSR2 src/ tests/
- vendor/bin/phpmd src/,tests/ text codesize,unusedcode,design
- if [ "$COVERALLS" = "yes" ]; then php composer.phar require --dev satooshi/php-coveralls dev-master && vendor/bin/coveralls -vvv; fi