mirror of
https://github.com/tmux-plugins/tmux-resurrect.git
synced 2024-12-24 16:18:53 +00:00
Run setup task from .travis.yml
This commit is contained in:
parent
a3dd99085a
commit
c5bc35932b
3
.gitignore
vendored
3
.gitignore
vendored
@ -0,0 +1,3 @@
|
|||||||
|
run_tests
|
||||||
|
tests/run_tests_in_isolation
|
||||||
|
tests/helpers/helpers.sh
|
@ -1,13 +1,14 @@
|
|||||||
# generic packages
|
# generic packages and latest Tmux 1.9a
|
||||||
before_install:
|
before_install:
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get install -y git-core expect
|
- sudo apt-get install -y git-core expect
|
||||||
- sudo apt-get install -y python-software-properties software-properties-common
|
- sudo apt-get install -y python-software-properties software-properties-common
|
||||||
|
|
||||||
# install latest Tmux 1.9a
|
|
||||||
install:
|
|
||||||
- sudo add-apt-repository -y ppa:pi-rho/dev
|
- sudo add-apt-repository -y ppa:pi-rho/dev
|
||||||
- sudo apt-get update
|
- sudo apt-get update
|
||||||
- sudo apt-get install -y tmux=1.9a-1~ppa1~p
|
- sudo apt-get install -y tmux=1.9a-1~ppa1~p
|
||||||
|
|
||||||
|
install:
|
||||||
|
- git fetch --unshallow --recurse-submodules || git fetch --recurse-submodules
|
||||||
|
- lib/tmux-test/setup
|
||||||
|
|
||||||
script: ./tests/run_tests_in_isolation
|
script: ./tests/run_tests_in_isolation
|
||||||
|
@ -1,11 +1,7 @@
|
|||||||
install_tmux_resurrect_helper() {
|
install_tmux_resurrect_helper() {
|
||||||
local plugin_path="${HOME}/.tmux/plugins/tmux-resurrect/"
|
local plugin_path="${HOME}/.tmux/plugins/tmux-resurrect/"
|
||||||
rm -rf "$plugin_path"
|
rm -rf "$plugin_path"
|
||||||
if [ -n "$TRAVIS" ]; then
|
git clone --recursive "${CURRENT_DIR}/../" "$plugin_path" >/dev/null 2>&1
|
||||||
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
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# we want "fixed" dimensions no matter the size of real display
|
# we want "fixed" dimensions no matter the size of real display
|
||||||
|
Loading…
Reference in New Issue
Block a user