some porting work with travis-ci.org