Revert "update travis build script"

This reverts commit 4caa0b404932c131c5f0f0479cd443b3cae3bf12.