forked from cakephp/phinx
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.travis.yml
More file actions
31 lines (31 loc) · 768 Bytes
/
.travis.yml
File metadata and controls
31 lines (31 loc) · 768 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
29
30
31
sudo: false
before_script:
- composer self-update
- composer install
- mysql -e 'create database phinx_testing;'
- psql -c 'create database phinx_testing;' -U postgres
language: php
php:
- 5.3
- 5.4
- 5.5
- 5.6
- 7
- hhvm
addons:
postgresql: "9.2"
env:
- TESTS_PHINX_DB_ADAPTER_POSTGRES_ENABLED=true
script:
- phpunit --coverage-text --coverage-clover=coverage.clover
- wget https://scrutinizer-ci.com/ocular.phar
- php ocular.phar code-coverage:upload --format=php-clover coverage.clover
matrix:
exclude:
- php: hhvm
env: TESTS_PHINX_DB_ADAPTER_POSTGRES_ENABLED=true
include:
- php: hhvm
env: TESTS_PHINX_DB_ADAPTER_POSTGRES_ENABLED=false
allow_failures:
- php: hhvm