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

php:
  - 5.3
  - 5.4
  - 5.5

8 9 10
env:
  - CUBRID_VERSION=9.1.0

11 12
services:
  - redis-server
13
  - memcached
14

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

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

after_script:
28
  - php vendor/bin/coveralls