.travis.yml 302 Bytes
Newer Older
Taufan Aditya committed
1 2 3 4 5 6 7 8 9 10 11 12
language: php

php:
  - 5.3
  - 5.4
  - 5.5

env:
  - DB=mysql

before_script:
  - sh -c "if [ '$DB' = 'mysql' ]; then mysql -e 'create database IF NOT EXISTS yiitest;'; fi"
13 14
  - psql -U postgres -c 'drop database if exists yiitest;'; 
  - psql -U postgres -c 'create database yiitest;';
Taufan Aditya committed
15
script: phpunit