I think you should include some of these steps in the test script.  That way, if `diff-cover` throws an exception when you call it, it will cause the test suite to fail.

You can do this a couple of ways: the easiest is probably to create a bash script (maybe called `run_tests.sh`) and make that the script that travis runs.