[travis ci] Further improvements #988

Merged
merged 3 commits into from Jul 16, 2012

2 participants

@DaSourcerer

Some more travis goodness:

  • MS-SQL tests are no longer run (i.e. they won't be picked up instead of just being skipped).
  • CDbAuthManagerTest will now use the auth schema file found in framework/web/auth/
@DaSourcerer

Short preview: http://travis-ci.org/#!/DaSourcerer/yii/jobs/1880847
No more skipped tests :)

@samdark samdark commented on the diff Jul 16, 2012
.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
@samdark
Yii Software LLC member
samdark added a line comment Jul 16, 2012

Is there a way to actually run these?

@DaSourcerer
DaSourcerer added a line comment Jul 16, 2012

Currently no. MS-SQL is not part of the travis environment.

@DaSourcerer
DaSourcerer added a line comment Jul 18, 2012

After some additional research: Installing MS-SQL on Linux is still difficult and close to impossible. The most accepted way seems to install a Windows VM, install MS SQL Server on it and connect through that. Frankly, I do not see this happening soon for Travis CI. Unless we open a MS SQL Server instance somewhere else to Travis, these tests will see no attention through the automated testruns.

@resurtm
resurtm added a line comment Aug 29, 2012

@DaSourcerer But is there any information about plans on MSSQL? They have decided not to implement it at all?

@resurtm
resurtm added a line comment Aug 29, 2012

There is an existing issue: travis-ci/travis-ci#216
There are chances for obtaining MSSQL support. :)

@DaSourcerer
DaSourcerer added a line comment Aug 29, 2012

@resurtm: Whoa, that comes at the price of switching the underlying OS. I'll keep an eye on it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
@samdark samdark merged commit beecbe5 into yiisoft:master Jul 16, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment