Improve the travis test scripts