Added CTest script for travis builds.