Travis: Fix build test script

* Fix module name detection.
* Let the build fail if any of the exercises fail.