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

php:
  - 5.4
  - 5.5
6
#  - hhvm # commented until composer or hhvm get fixed: https://github.com/facebook/hhvm/issues/1347
Taufan Aditya committed
7

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

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

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

27 28
#after_script:
#  - php vendor/bin/coveralls