forked from creof/doctrine2-spatial
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.travis.yml
41 lines (33 loc) · 1 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
sudo: false
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7.0
- 7.1
- hhvm
env:
- ORM=2.3
- ORM=2.4
- ORM=2.5
before_script:
- composer self-update
- cp ./tests/travis/composer.orm$ORM.json ./composer.json
- composer install --prefer-source
- mkdir -p ./build/coverage
script:
- ./vendor/bin/phpunit -v -c ./tests/travis/travis.pgsql.xml --coverage-php ./build/coverage/coverage-pgsql-$TRAVIS_PHP_VERSION-$ORM.cov
- ./vendor/bin/phpunit -v -c ./tests/travis/travis.mysql.xml --coverage-php ./build/coverage/coverage-mysql-$TRAVIS_PHP_VERSION-$ORM.cov
after_script:
- ./vendor/bin/phpcov merge --clover ./build/logs/clover.xml ./build/coverage
- ./vendor/bin/coveralls -v --exclude-no-stmt
notifications:
webhooks: https://coveralls.io/webhook?repo_token=$COVERALLS_WEBHOOK
matrix:
allow_failures:
- php: hhvm # driver for PostgreSQL currently unsupported by HHVM, requires 3rd party dependency
exclude:
- php: 5.3
env: ORM=2.5 # ORM >=2.5 requires PHP >=5.4