Add ctest to travis configuration.