divide travis build into real build and test scripts