Refactor the installer to be more maintainable and interactive. The installer is now more robust and safe in its operation, and asks interactive questions for choices that the user must resolve. Setting up confuguration is also now changed to take advantage of Fish 2.3 features and does not mess with user's configuration files without permission.
- Make installer smarter and use uninstaller in destroy
- Better handling and checking for offline installs
- `omf destroy` simply uses `install --uninstall`
- Final warning message is no longer displayed when user intentionally aborts install
- Backups are restored during uninstall
- Update the README to detail the new ways to install OMF
Travis does not provide the original repository branch name on any
environment variable. We are getting the information from the GitHub
API instead.
The misleading environment variable `TRAVIS_BRANCH` returns `master`
instead:
> TRAVIS_BRANCH: For builds not triggered by a pull request this is the
name of the branch currently being built; whereas for builds triggered
by a pull request this is the name of the branch targeted by the pull
request (in many cases this will be master).
Reference: http://docs.travis-ci.com/user/environment-variables/
Moving and renaming install_fish.sh to travis_install_fish
Moving travis_* from tests to tools.
rename: fish_user_function/ -> functions_override/
renaming travis_test.fish to test_runner.fish