added .travis.yml and modified CMake scripts