Add cd commands to the before_script section of .travis.yml file.