copied travis build config from 1.1 branch