move composer steps in .travis.yml to *install sections

such a change should be done in another PR.