update travis conditional dependencies for build matrix