Fix .travis.yml to change directory only once