Add ctest to travis-ci build.