update .travis.yml and add cpu.cpp