add random.cpp in travis file