.travis.yml 604 Bytes
Newer Older
Taufan Aditya committed
1 2 3 4 5 6 7
language: php

php:
  - 5.3
  - 5.4
  - 5.5

8 9
services:
  - redis-server
10
  - memcached
11

Taufan Aditya committed
12
before_script:
13
  - composer self-update && composer --version
14
  - composer require satooshi/php-coveralls 0.6.*
DaSourcerer committed
15 16
  - mysql -e 'CREATE DATABASE yiitest;';
  - psql -U postgres -c 'CREATE DATABASE yiitest;';
17 18
  - tests/unit/data/travis/apc-setup.sh
  - tests/unit/data/travis/memcache-setup.sh
19
  - tests/unit/data/travis/cubrid-setup.sh
DaSourcerer committed
20

21
script:
22
  - phpunit --coverage-clover tests/unit/runtime/coveralls/clover.xml --verbose --exclude-group mssql,oci,wincache,xcache,zenddata
23 24

after_script:
25
  - php vendor/bin/coveralls