try "gradle connectedCheck" to see if the tests will run and the expected failing test fails the build in travis.