add Travis build matrix to do parallel builds for make and CMake;
separate functionality into scripts under scripts/travis for readability
.travis.yml: only generate CUDA compute_50