Skip to content
This repository
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 18 lines (14 sloc) 0.748 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
language: php

php:
  - 5.2
  - 5.3
  - 5.4

before_script:
  - cd tests
  - mysql -u root -e 'CREATE SCHEMA `yii` CHARACTER SET utf8 COLLATE utf8_general_ci; GRANT ALL ON `yii`.* TO test@localhost IDENTIFIED BY "test"; FLUSH PRIVILEGES;'
  - psql -q -c "CREATE ROLE test WITH PASSWORD 'test' LOGIN;" -U postgres
  - psql -q -c 'CREATE DATABASE yii WITH OWNER = test;' -U postgres
  - psql -q -c 'GRANT ALL PRIVILEGES ON DATABASE yii TO test;' -U postgres
  - echo 'y' | pecl install memcache > ~/memcache.log || ( echo "=== MEMCACHE BUILD FAILED ==="; cat ~/memcache.log )
  - echo "extension=memcache.so" >> `php --ini | grep "Loaded Configuration" | sed -e "s|.*:\s*||"`

script: phpunit --colors --coverage-text --exclude-group mssql framework
Something went wrong with that request. Please try again.