update travis config
Merge pull request #574 from ndawe/ci

update travis config
remove duplicate import and fix formatting