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

php:
  - 5.4
  - 5.5

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

Taufan Aditya committed
11
before_script:
12
  - composer self-update && composer --version
13
  - composer require satooshi/php-coveralls 0.6.* --dev --prefer-dist
14
  - composer require guzzle/http v3.7.3 --dev --prefer-dist
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,vendor,sphinx
23 24

after_script:
25
  - php vendor/bin/coveralls