.travis.yml 713 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
  - elasticsearch
11

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

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

after_script:
26
  - php vendor/bin/coveralls