Only run the travis tasks when testing passes