travis: add test and build type