5 changed files with 29 additions and 9 deletions
			
			
		| @ -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 | ||||
| @ -0,0 +1,13 @@ | ||||
| <?xml version="1.0" encoding="utf-8"?> | ||||
| <phpunit bootstrap="./tests/unit/bootstrap.php" | ||||
| 		colors="true" | ||||
| 		convertErrorsToExceptions="true" | ||||
| 		convertNoticesToExceptions="true" | ||||
| 		convertWarningsToExceptions="true" | ||||
| 		stopOnFailure="false"> | ||||
| 		<testsuites> | ||||
| 			<testsuite name="Yii Test Suite"> | ||||
| 				<directory>./tests/unit</directory> | ||||
| 			</testsuite> | ||||
| 		</testsuites> | ||||
| </phpunit> | ||||
					Loading…
					
					
				
		Reference in new issue