Browse Source

Merge pull request #89 from toopay/develop

Travis Integration
tags/2.0.0-beta
Qiang Xue 12 years ago
parent
commit
d23bc9a264
  1. 14
      .travis.yml
  2. 2
      tests/unit/data/config.php

14
.travis.yml

@ -0,0 +1,14 @@
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"
script: phpunit

2
tests/unit/data/config.php

@ -3,7 +3,7 @@
return array(
'mysql' => array(
'dsn' => 'mysql:host=127.0.0.1;dbname=yiitest',
'username' => 'root',
'username' => 'travis',
'password' => '',
'fixture' => __DIR__ . '/mysql.sql',
),

Loading…
Cancel
Save