Disabled integration tests on travis
refactor gradient model selection