Run setup task from .travis.yml

This commit is contained in:
Bruno Sutic
2015-02-23 00:42:14 +01:00
parent a3dd99085a
commit c5bc35932b
3 changed files with 9 additions and 9 deletions

View File

@ -1,11 +1,7 @@
install_tmux_resurrect_helper() {
local plugin_path="${HOME}/.tmux/plugins/tmux-resurrect/"
rm -rf "$plugin_path"
if [ -n "$TRAVIS" ]; then
git clone --recursive https://github.com/tmux-plugins/tmux-resurrect --branch "$TRAVIS_BRANCH" "$plugin_path" >/dev/null 2>&1
else # used on vagrant
git clone --recursive "${CURRENT_DIR}/../" "$plugin_path" >/dev/null 2>&1
fi
git clone --recursive "${CURRENT_DIR}/../" "$plugin_path" >/dev/null 2>&1
}
# we want "fixed" dimensions no matter the size of real display