Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Keep mssql tests from being executed in travis

  • Loading branch information...
commit db8a63316469e14afcfd44fc3b80269125c7e14e 1 parent 98f636c
@DaSourcerer DaSourcerer authored invalid-email-address committed
Showing with 4 additions and 2 deletions.
  1. +1 −1  .travis.yml
  2. +3 −1 tests/framework/db/schema/CMssqlTest.php
View
2  .travis.yml
@@ -14,4 +14,4 @@ before_script:
- 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 framework
+script: phpunit --colors --coverage-text --exclude-group mssql framework
View
4 tests/framework/db/schema/CMssqlTest.php
@@ -3,7 +3,9 @@
Yii::import('system.db.CDbConnection');
Yii::import('system.db.schema.mysql.CMssqlSchema');
-
+/**
+ * @group mssql
+ */
class CMssqlTest extends CTestCase
{
const DB_HOST='YII'; // This is the alias to mssql server. Defined in freetds.conf for linux, or in Client Network Utility on windows
Please sign in to comment.
Something went wrong with that request. Please try again.