Limiting build matrix to have stable builds for dependencies first.